_propDict)) { if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PageOrientation") || is_null($this->_propDict["orientation"])) { return $this->_propDict["orientation"]; } else { $this->_propDict["orientation"] = new PageOrientation($this->_propDict["orientation"]); return $this->_propDict["orientation"]; } } return null; } /** * Sets the orientation * * @param PageOrientation $val The value to assign to the orientation * * @return AddWatermark The AddWatermark */ public function setOrientation($val) { $this->_propDict["orientation"] = $val; return $this; } }