_propDict)) { return $this->_propDict["error"]; } else { return null; } } /** * Sets the error * The error message for the exception. * * @param string $val The value of the error * * @return ManagedTenantOperationError */ public function setError($val) { $this->_propDict["error"] = $val; return $this; } /** * Gets the tenantId * The Microsoft Entra tenant identifier for the managed tenant. * * @return string|null The tenantId */ public function getTenantId() { if (array_key_exists("tenantId", $this->_propDict)) { return $this->_propDict["tenantId"]; } else { return null; } } /** * Sets the tenantId * The Microsoft Entra tenant identifier for the managed tenant. * * @param string $val The value of the tenantId * * @return ManagedTenantOperationError */ public function setTenantId($val) { $this->_propDict["tenantId"] = $val; return $this; } }