_propDict)) { return $this->_propDict["contentId"]; } else { return null; } } /** * Sets the contentId * The ID of the attachment in the Exchange store. * * @param string $val The contentId * * @return FileAttachment */ public function setContentId($val) { $this->_propDict["contentId"] = $val; return $this; } /** * Gets the contentLocation * Do not use this property as it is not supported. * * @return string The contentLocation */ public function getContentLocation() { if (array_key_exists("contentLocation", $this->_propDict)) { return $this->_propDict["contentLocation"]; } else { return null; } } /** * Sets the contentLocation * Do not use this property as it is not supported. * * @param string $val The contentLocation * * @return FileAttachment */ public function setContentLocation($val) { $this->_propDict["contentLocation"] = $val; return $this; } /** * Gets the contentBytes * The base64-encoded contents of the file. * * @return \GuzzleHttp\Psr7\Stream The contentBytes */ public function getContentBytes() { if (array_key_exists("contentBytes", $this->_propDict)) { if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream")) { return $this->_propDict["contentBytes"]; } else { $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["contentBytes"]); return $this->_propDict["contentBytes"]; } } return null; } /** * Sets the contentBytes * The base64-encoded contents of the file. * * @param \GuzzleHttp\Psr7\Stream $val The contentBytes * * @return FileAttachment */ public function setContentBytes($val) { $this->_propDict["contentBytes"] = $val; return $this; } }