_propDict)) { if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { return $this->_propDict["content"]; } else { $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); return $this->_propDict["content"]; } } return null; } /** * Sets the content * The content stream * * @param \GuzzleHttp\Psr7\Stream $val The content * * @return OnenoteResource */ public function setContent($val) { $this->_propDict["content"] = $val; return $this; } /** * Gets the contentUrl * The URL for downloading the content * * @return string|null The contentUrl */ public function getContentUrl() { if (array_key_exists("contentUrl", $this->_propDict)) { return $this->_propDict["contentUrl"]; } else { return null; } } /** * Sets the contentUrl * The URL for downloading the content * * @param string $val The contentUrl * * @return OnenoteResource */ public function setContentUrl($val) { $this->_propDict["contentUrl"] = $val; return $this; } }