_propDict)) { if (is_a($this->_propDict["encryptedBuffer"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptedBuffer"])) { return $this->_propDict["encryptedBuffer"]; } else { $this->_propDict["encryptedBuffer"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptedBuffer"]); return $this->_propDict["encryptedBuffer"]; } } return null; } /** * Sets the encryptedBuffer * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the encryptedBuffer * * @return BufferEncryptionResult The BufferEncryptionResult */ public function setEncryptedBuffer($val) { $this->_propDict["encryptedBuffer"] = $val; return $this; } /** * Gets the publishingLicense * * @return \GuzzleHttp\Psr7\Stream|null The publishingLicense */ public function getPublishingLicense() { if (array_key_exists("publishingLicense", $this->_propDict)) { if (is_a($this->_propDict["publishingLicense"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["publishingLicense"])) { return $this->_propDict["publishingLicense"]; } else { $this->_propDict["publishingLicense"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["publishingLicense"]); return $this->_propDict["publishingLicense"]; } } return null; } /** * Sets the publishingLicense * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the publishingLicense * * @return BufferEncryptionResult The BufferEncryptionResult */ public function setPublishingLicense($val) { $this->_propDict["publishingLicense"] = $val; return $this; } }