_propDict)) { if (is_a($this->_propDict["encryptionManagedBy"], "\Beta\Microsoft\Graph\Model\AzureEncryption") || is_null($this->_propDict["encryptionManagedBy"])) { return $this->_propDict["encryptionManagedBy"]; } else { $this->_propDict["encryptionManagedBy"] = new AzureEncryption($this->_propDict["encryptionManagedBy"]); return $this->_propDict["encryptionManagedBy"]; } } return null; } /** * Sets the encryptionManagedBy * * @param AzureEncryption $val The encryptionManagedBy * * @return EncryptedAzureStorageAccountFinding */ public function setEncryptionManagedBy($val) { $this->_propDict["encryptionManagedBy"] = $val; return $this; } /** * Gets the storageAccount * * @return AuthorizationSystemResource|null The storageAccount */ public function getStorageAccount() { if (array_key_exists("storageAccount", $this->_propDict)) { if (is_a($this->_propDict["storageAccount"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemResource") || is_null($this->_propDict["storageAccount"])) { return $this->_propDict["storageAccount"]; } else { $this->_propDict["storageAccount"] = new AuthorizationSystemResource($this->_propDict["storageAccount"]); return $this->_propDict["storageAccount"]; } } return null; } /** * Sets the storageAccount * * @param AuthorizationSystemResource $val The storageAccount * * @return EncryptedAzureStorageAccountFinding */ public function setStorageAccount($val) { $this->_propDict["storageAccount"] = $val; return $this; } }