From 819008377154f7697accd616208beca8da54b856 Mon Sep 17 00:00:00 2001 From: Arjen Kroezen Date: Thu, 31 Aug 2023 12:18:47 +0200 Subject: [PATCH] chore: assume binarydata is datafactoryelement (#5) Might be an invalid assumption and have to find a way to let autorest determine the right type. --- .../AzureDataFactory.TestingFramework.csproj | 2 +- .../DataFactoryChangeDataCaptureData.cs | 7 +++--- .../Generated/DataFactoryData.cs | 7 +++--- .../Generated/DataFactoryPipelineResource.cs | 5 ++-- .../AmazonMwsLinkedService.Serialization.cs | 6 ++--- .../Models/AmazonMwsLinkedService.cs | 2 +- .../AmazonMwsObjectDataset.Serialization.cs | 6 ++--- .../Models/AmazonMwsObjectDataset.cs | 2 +- .../Models/AmazonMwsSource.Serialization.cs | 6 ++--- .../Generated/Models/AmazonMwsSource.cs | 2 +- ...RdsForOracleLinkedService.Serialization.cs | 6 ++--- .../Models/AmazonRdsForOracleLinkedService.cs | 2 +- .../AmazonRdsForOracleSource.Serialization.cs | 6 ++--- .../Models/AmazonRdsForOracleSource.cs | 2 +- ...nRdsForOracleTableDataset.Serialization.cs | 6 ++--- .../Models/AmazonRdsForOracleTableDataset.cs | 2 +- ...ForSqlServerLinkedService.Serialization.cs | 6 ++--- .../AmazonRdsForSqlServerLinkedService.cs | 2 +- ...azonRdsForSqlServerSource.Serialization.cs | 6 ++--- .../Models/AmazonRdsForSqlServerSource.cs | 2 +- ...sForSqlServerTableDataset.Serialization.cs | 6 ++--- .../AmazonRdsForSqlServerTableDataset.cs | 2 +- ...azonRedshiftLinkedService.Serialization.cs | 6 ++--- .../Models/AmazonRedshiftLinkedService.cs | 2 +- .../AmazonRedshiftSource.Serialization.cs | 6 ++--- .../Generated/Models/AmazonRedshiftSource.cs | 2 +- ...mazonRedshiftTableDataset.Serialization.cs | 6 ++--- .../Models/AmazonRedshiftTableDataset.cs | 2 +- ...S3CompatibleLinkedService.Serialization.cs | 6 ++--- .../Models/AmazonS3CompatibleLinkedService.cs | 2 +- ...mazonS3CompatibleLocation.Serialization.cs | 6 ++--- .../Models/AmazonS3CompatibleLocation.cs | 2 +- ...nS3CompatibleReadSettings.Serialization.cs | 6 ++--- .../Models/AmazonS3CompatibleReadSettings.cs | 2 +- .../Models/AmazonS3Dataset.Serialization.cs | 6 ++--- .../Generated/Models/AmazonS3Dataset.cs | 2 +- .../AmazonS3LinkedService.Serialization.cs | 6 ++--- .../Generated/Models/AmazonS3LinkedService.cs | 2 +- .../Models/AmazonS3Location.Serialization.cs | 6 ++--- .../Generated/Models/AmazonS3Location.cs | 2 +- .../AmazonS3ReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/AmazonS3ReadSettings.cs | 2 +- .../AppFiguresLinkedService.Serialization.cs | 6 ++--- .../Models/AppFiguresLinkedService.cs | 2 +- .../AppendVariableActivity.Serialization.cs | 6 ++--- .../Models/AppendVariableActivity.cs | 2 +- .../AsanaLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/AsanaLinkedService.cs | 2 +- .../Models/AvroDataset.Serialization.cs | 6 ++--- .../Generated/Models/AvroDataset.cs | 2 +- .../Models/AvroSink.Serialization.cs | 6 ++--- .../Generated/Models/AvroSink.cs | 2 +- .../Models/AvroSource.Serialization.cs | 6 ++--- .../Generated/Models/AvroSource.cs | 2 +- .../Models/AvroWriteSettings.Serialization.cs | 6 ++--- .../Generated/Models/AvroWriteSettings.cs | 2 +- .../AzureBatchLinkedService.Serialization.cs | 6 ++--- .../Models/AzureBatchLinkedService.cs | 2 +- .../Models/AzureBlobDataset.Serialization.cs | 6 ++--- .../Generated/Models/AzureBlobDataset.cs | 2 +- .../AzureBlobFSDataset.Serialization.cs | 6 ++--- .../Generated/Models/AzureBlobFSDataset.cs | 2 +- .../AzureBlobFSLinkedService.Serialization.cs | 6 ++--- .../Models/AzureBlobFSLinkedService.cs | 2 +- .../AzureBlobFSLocation.Serialization.cs | 6 ++--- .../Generated/Models/AzureBlobFSLocation.cs | 2 +- .../AzureBlobFSReadSettings.Serialization.cs | 6 ++--- .../Models/AzureBlobFSReadSettings.cs | 2 +- .../Models/AzureBlobFSSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureBlobFSSink.cs | 2 +- .../Models/AzureBlobFSSource.Serialization.cs | 6 ++--- .../Generated/Models/AzureBlobFSSource.cs | 2 +- .../AzureBlobFSWriteSettings.Serialization.cs | 6 ++--- .../Models/AzureBlobFSWriteSettings.cs | 2 +- ...eBlobStorageLinkedService.Serialization.cs | 6 ++--- .../Models/AzureBlobStorageLinkedService.cs | 2 +- .../AzureBlobStorageLocation.Serialization.cs | 6 ++--- .../Models/AzureBlobStorageLocation.cs | 2 +- ...reBlobStorageReadSettings.Serialization.cs | 6 ++--- .../Models/AzureBlobStorageReadSettings.cs | 2 +- ...eBlobStorageWriteSettings.Serialization.cs | 6 ++--- .../Models/AzureBlobStorageWriteSettings.cs | 2 +- ...taExplorerCommandActivity.Serialization.cs | 6 ++--- .../AzureDataExplorerCommandActivity.cs | 2 +- ...DataExplorerLinkedService.Serialization.cs | 6 ++--- .../Models/AzureDataExplorerLinkedService.cs | 2 +- .../AzureDataExplorerSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureDataExplorerSink.cs | 2 +- .../AzureDataExplorerSource.Serialization.cs | 6 ++--- .../Models/AzureDataExplorerSource.cs | 2 +- ...eDataExplorerTableDataset.Serialization.cs | 6 ++--- .../Models/AzureDataExplorerTableDataset.cs | 2 +- ...akeAnalyticsLinkedService.Serialization.cs | 6 ++--- .../AzureDataLakeAnalyticsLinkedService.cs | 2 +- ...AzureDataLakeStoreDataset.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreDataset.cs | 2 +- ...ataLakeStoreLinkedService.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreLinkedService.cs | 2 +- ...zureDataLakeStoreLocation.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreLocation.cs | 2 +- ...DataLakeStoreReadSettings.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreReadSettings.cs | 2 +- .../AzureDataLakeStoreSink.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreSink.cs | 2 +- .../AzureDataLakeStoreSource.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreSource.cs | 2 +- ...ataLakeStoreWriteSettings.Serialization.cs | 6 ++--- .../Models/AzureDataLakeStoreWriteSettings.cs | 2 +- ...atabricksDeltaLakeDataset.Serialization.cs | 6 ++--- .../Models/AzureDatabricksDeltaLakeDataset.cs | 2 +- ...cksDeltaLakeExportCommand.Serialization.cs | 6 ++--- .../AzureDatabricksDeltaLakeExportCommand.cs | 2 +- ...cksDeltaLakeImportCommand.Serialization.cs | 6 ++--- .../AzureDatabricksDeltaLakeImportCommand.cs | 2 +- ...cksDeltaLakeLinkedService.Serialization.cs | 6 ++--- .../AzureDatabricksDeltaLakeLinkedService.cs | 2 +- ...reDatabricksDeltaLakeSink.Serialization.cs | 6 ++--- .../Models/AzureDatabricksDeltaLakeSink.cs | 2 +- ...DatabricksDeltaLakeSource.Serialization.cs | 6 ++--- .../Models/AzureDatabricksDeltaLakeSource.cs | 2 +- ...reDatabricksLinkedService.Serialization.cs | 24 +++++++++---------- .../Models/AzureDatabricksLinkedService.cs | 14 +++++------ ...eFileStorageLinkedService.Serialization.cs | 6 ++--- .../Models/AzureFileStorageLinkedService.cs | 2 +- .../AzureFileStorageLocation.Serialization.cs | 6 ++--- .../Models/AzureFileStorageLocation.cs | 2 +- ...reFileStorageReadSettings.Serialization.cs | 6 ++--- .../Models/AzureFileStorageReadSettings.cs | 2 +- ...eFileStorageWriteSettings.Serialization.cs | 6 ++--- .../Models/AzureFileStorageWriteSettings.cs | 2 +- .../AzureFunctionActivity.Serialization.cs | 6 ++--- .../Generated/Models/AzureFunctionActivity.cs | 2 +- ...zureFunctionLinkedService.Serialization.cs | 6 ++--- .../Models/AzureFunctionLinkedService.cs | 2 +- ...zureKeyVaultLinkedService.Serialization.cs | 6 ++--- .../Models/AzureKeyVaultLinkedService.cs | 2 +- ...eMLBatchExecutionActivity.Serialization.cs | 12 +++++----- .../Models/AzureMLBatchExecutionActivity.cs | 6 ++--- ...MLExecutePipelineActivity.Serialization.cs | 6 ++--- .../Models/AzureMLExecutePipelineActivity.cs | 2 +- .../AzureMLLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/AzureMLLinkedService.cs | 2 +- ...ureMLServiceLinkedService.Serialization.cs | 6 ++--- .../Models/AzureMLServiceLinkedService.cs | 2 +- ...eMLUpdateResourceActivity.Serialization.cs | 6 ++--- .../Models/AzureMLUpdateResourceActivity.cs | 2 +- ...AzureMariaDBLinkedService.Serialization.cs | 6 ++--- .../Models/AzureMariaDBLinkedService.cs | 2 +- .../AzureMariaDBSource.Serialization.cs | 6 ++--- .../Generated/Models/AzureMariaDBSource.cs | 2 +- .../AzureMariaDBTableDataset.Serialization.cs | 6 ++--- .../Models/AzureMariaDBTableDataset.cs | 2 +- .../AzureMySqlLinkedService.Serialization.cs | 6 ++--- .../Models/AzureMySqlLinkedService.cs | 2 +- .../Models/AzureMySqlSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureMySqlSink.cs | 2 +- .../Models/AzureMySqlSource.Serialization.cs | 6 ++--- .../Generated/Models/AzureMySqlSource.cs | 2 +- .../AzureMySqlTableDataset.Serialization.cs | 6 ++--- .../Models/AzureMySqlTableDataset.cs | 2 +- ...rePostgreSqlLinkedService.Serialization.cs | 6 ++--- .../Models/AzurePostgreSqlLinkedService.cs | 2 +- .../AzurePostgreSqlSink.Serialization.cs | 6 ++--- .../Generated/Models/AzurePostgreSqlSink.cs | 2 +- .../AzurePostgreSqlSource.Serialization.cs | 6 ++--- .../Generated/Models/AzurePostgreSqlSource.cs | 2 +- ...urePostgreSqlTableDataset.Serialization.cs | 6 ++--- .../Models/AzurePostgreSqlTableDataset.cs | 2 +- .../Models/AzureQueueSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureQueueSink.cs | 2 +- .../AzureSearchIndexDataset.Serialization.cs | 6 ++--- .../Models/AzureSearchIndexDataset.cs | 2 +- .../AzureSearchIndexSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureSearchIndexSink.cs | 2 +- .../AzureSearchLinkedService.Serialization.cs | 6 ++--- .../Models/AzureSearchLinkedService.cs | 2 +- .../AzureSqlDWLinkedService.Serialization.cs | 6 ++--- .../Models/AzureSqlDWLinkedService.cs | 2 +- .../AzureSqlDWTableDataset.Serialization.cs | 6 ++--- .../Models/AzureSqlDWTableDataset.cs | 2 +- ...eSqlDatabaseLinkedService.Serialization.cs | 6 ++--- .../Models/AzureSqlDatabaseLinkedService.cs | 2 +- .../AzureSqlMILinkedService.Serialization.cs | 6 ++--- .../Models/AzureSqlMILinkedService.cs | 2 +- .../AzureSqlMITableDataset.Serialization.cs | 6 ++--- .../Models/AzureSqlMITableDataset.cs | 2 +- .../Models/AzureSqlSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureSqlSink.cs | 2 +- .../Models/AzureSqlSource.Serialization.cs | 6 ++--- .../Generated/Models/AzureSqlSource.cs | 2 +- .../AzureSqlTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/AzureSqlTableDataset.cs | 2 +- ...AzureStorageLinkedService.Serialization.cs | 6 ++--- .../Models/AzureStorageLinkedService.cs | 2 +- ...pseArtifactsLinkedService.Serialization.cs | 6 ++--- .../AzureSynapseArtifactsLinkedService.cs | 2 +- .../Models/AzureTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/AzureTableDataset.cs | 2 +- .../Models/AzureTableSink.Serialization.cs | 6 ++--- .../Generated/Models/AzureTableSink.cs | 2 +- .../Models/AzureTableSource.Serialization.cs | 6 ++--- .../Generated/Models/AzureTableSource.cs | 2 +- ...TableStorageLinkedService.Serialization.cs | 6 ++--- .../Models/AzureTableStorageLinkedService.cs | 2 +- .../Models/BinaryDataset.Serialization.cs | 6 ++--- .../Generated/Models/BinaryDataset.cs | 2 +- .../BinaryReadSettings.Serialization.cs | 7 +++--- .../Generated/Models/BinaryReadSettings.cs | 4 +++- .../Models/BinarySink.Serialization.cs | 6 ++--- .../Generated/Models/BinarySink.cs | 2 +- .../Models/BinarySource.Serialization.cs | 6 ++--- .../Generated/Models/BinarySource.cs | 2 +- .../CassandraLinkedService.Serialization.cs | 6 ++--- .../Models/CassandraLinkedService.cs | 2 +- .../Models/CassandraSource.Serialization.cs | 6 ++--- .../Generated/Models/CassandraSource.cs | 2 +- .../CassandraTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/CassandraTableDataset.cs | 2 +- .../Models/ChainingTrigger.Serialization.cs | 7 +++--- .../Generated/Models/ChainingTrigger.cs | 3 ++- ...rviceForAppsEntityDataset.Serialization.cs | 6 ++--- .../CommonDataServiceForAppsEntityDataset.cs | 2 +- ...rviceForAppsLinkedService.Serialization.cs | 6 ++--- .../CommonDataServiceForAppsLinkedService.cs | 2 +- ...monDataServiceForAppsSink.Serialization.cs | 6 ++--- .../Models/CommonDataServiceForAppsSink.cs | 2 +- ...nDataServiceForAppsSource.Serialization.cs | 6 ++--- .../Models/CommonDataServiceForAppsSource.cs | 2 +- .../Models/CompressionReadSettings.cs | 7 +++--- .../ConcurLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/ConcurLinkedService.cs | 2 +- .../ConcurObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/ConcurObjectDataset.cs | 2 +- .../Models/ConcurSource.Serialization.cs | 6 ++--- .../Generated/Models/ConcurSource.cs | 2 +- .../Models/ControlActivity.Serialization.cs | 7 +++--- .../Generated/Models/ControlActivity.cs | 3 ++- .../Models/CopyActivity.Serialization.cs | 6 ++--- .../Generated/Models/CopyActivity.cs | 2 +- .../Generated/Models/CopyActivitySource.cs | 6 ++--- ...opyComputeScaleProperties.Serialization.cs | 7 +++--- .../Models/CopyComputeScaleProperties.cs | 7 +++--- .../Generated/Models/CopySink.cs | 6 ++--- .../CosmosDBLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/CosmosDBLinkedService.cs | 2 +- ...ngoDBApiCollectionDataset.Serialization.cs | 6 ++--- .../CosmosDBMongoDBApiCollectionDataset.cs | 2 +- ...DBMongoDBApiLinkedService.Serialization.cs | 6 ++--- .../Models/CosmosDBMongoDBApiLinkedService.cs | 2 +- .../CosmosDBMongoDBApiSink.Serialization.cs | 6 ++--- .../Models/CosmosDBMongoDBApiSink.cs | 2 +- .../CosmosDBMongoDBApiSource.Serialization.cs | 6 ++--- .../Models/CosmosDBMongoDBApiSource.cs | 2 +- ...DBSqlApiCollectionDataset.Serialization.cs | 6 ++--- .../Models/CosmosDBSqlApiCollectionDataset.cs | 2 +- .../CosmosDBSqlApiSink.Serialization.cs | 6 ++--- .../Generated/Models/CosmosDBSqlApiSink.cs | 2 +- .../CosmosDBSqlApiSource.Serialization.cs | 6 ++--- .../Generated/Models/CosmosDBSqlApiSource.cs | 2 +- .../CouchbaseLinkedService.Serialization.cs | 6 ++--- .../Models/CouchbaseLinkedService.cs | 2 +- .../Models/CouchbaseSource.Serialization.cs | 6 ++--- .../Generated/Models/CouchbaseSource.cs | 2 +- .../CouchbaseTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/CouchbaseTableDataset.cs | 2 +- .../Models/CustomActivity.Serialization.cs | 12 +++++----- .../Generated/Models/CustomActivity.cs | 6 ++--- ...omDataSourceLinkedService.Serialization.cs | 7 +++--- .../Models/CustomDataSourceLinkedService.cs | 3 ++- .../Models/CustomDataset.Serialization.cs | 6 ++--- .../Generated/Models/CustomDataset.cs | 2 +- .../CustomEventsTrigger.Serialization.cs | 7 +++--- .../Generated/Models/CustomEventsTrigger.cs | 3 ++- ...aFactoryBlobEventsTrigger.Serialization.cs | 7 +++--- .../Models/DataFactoryBlobEventsTrigger.cs | 3 ++- .../DataFactoryBlobSink.Serialization.cs | 6 ++--- .../Generated/Models/DataFactoryBlobSink.cs | 2 +- .../DataFactoryBlobSource.Serialization.cs | 6 ++--- .../Generated/Models/DataFactoryBlobSource.cs | 2 +- .../DataFactoryBlobTrigger.Serialization.cs | 6 ++--- .../Models/DataFactoryBlobTrigger.cs | 2 +- ...toryChangeDataCaptureData.Serialization.cs | 7 +++--- .../Generated/Models/DataFactoryCredential.cs | 7 +++--- ...actoryCredentialReference.Serialization.cs | 7 +++--- .../Models/DataFactoryCredentialReference.cs | 7 +++--- .../Models/DataFactoryData.Serialization.cs | 7 +++--- .../DataFactoryDataFlowDebugPackageContent.cs | 5 ++-- .../Models/DataFactoryDatasetProperties.cs | 6 ++--- .../DataFactoryHttpDataset.Serialization.cs | 6 ++--- .../Models/DataFactoryHttpDataset.cs | 2 +- ...DataFactoryHttpFileSource.Serialization.cs | 6 ++--- .../Models/DataFactoryHttpFileSource.cs | 2 +- ...DataFactoryIntegrationRuntimeProperties.cs | 7 +++--- .../DataFactoryLinkedServiceProperties.cs | 7 +++--- ...ntityCredentialProperties.Serialization.cs | 7 +++--- ...toryManagedIdentityCredentialProperties.cs | 3 ++- ...dVirtualNetworkProperties.Serialization.cs | 7 +++--- ...aFactoryManagedVirtualNetworkProperties.cs | 7 +++--- .../DataFactoryPipelineData.Serialization.cs | 13 +++++----- ...ataFactoryPipelineRunInfo.Serialization.cs | 7 +++--- .../Models/DataFactoryPipelineRunInfo.cs | 7 +++--- ...PrivateEndpointProperties.Serialization.cs | 7 +++--- .../DataFactoryPrivateEndpointProperties.cs | 7 +++--- ...FactoryRecurrenceSchedule.Serialization.cs | 7 +++--- .../Models/DataFactoryRecurrenceSchedule.cs | 7 +++--- ...urrenceScheduleOccurrence.Serialization.cs | 7 +++--- ...DataFactoryRecurrenceScheduleOccurrence.cs | 7 +++--- ...ataFactoryScheduleTrigger.Serialization.cs | 7 +++--- .../Models/DataFactoryScheduleTrigger.cs | 3 ++- ...DataFactoryScriptActivity.Serialization.cs | 6 ++--- .../Models/DataFactoryScriptActivity.cs | 2 +- .../Models/DataFactoryTriggerProperties.cs | 7 +++--- .../DataFactoryTriggerRun.Serialization.cs | 13 +++++----- .../Generated/Models/DataFactoryTriggerRun.cs | 11 +++++---- .../DataFlowDebugPackageDebugSettings.cs | 5 ++-- .../DataFlowDebugSessionInfo.Serialization.cs | 7 +++--- .../Models/DataFlowDebugSessionInfo.cs | 7 +++--- .../Models/DataFlowReference.Serialization.cs | 13 +++++----- .../Generated/Models/DataFlowReference.cs | 11 +++++---- .../Generated/Models/DataFlowSourceSetting.cs | 5 ++-- ...LakeAnalyticsUsqlActivity.Serialization.cs | 12 +++++----- .../Models/DataLakeAnalyticsUsqlActivity.cs | 6 ++--- ...atabricksNotebookActivity.Serialization.cs | 20 ++++++++-------- .../Models/DatabricksNotebookActivity.cs | 10 ++++---- ...atabricksSparkJarActivity.Serialization.cs | 14 +++++------ .../Models/DatabricksSparkJarActivity.cs | 6 ++--- ...bricksSparkPythonActivity.Serialization.cs | 14 +++++------ .../Models/DatabricksSparkPythonActivity.cs | 6 ++--- .../Models/DatasetAvroFormat.Serialization.cs | 6 ++--- .../Generated/Models/DatasetAvroFormat.cs | 2 +- .../DatasetCompression.Serialization.cs | 6 ++--- .../Generated/Models/DatasetCompression.cs | 6 ++--- .../Models/DatasetJsonFormat.Serialization.cs | 6 ++--- .../Generated/Models/DatasetJsonFormat.cs | 2 +- .../Generated/Models/DatasetLocation.cs | 6 ++--- .../Models/DatasetOrcFormat.Serialization.cs | 6 ++--- .../Generated/Models/DatasetOrcFormat.cs | 2 +- .../DatasetParquetFormat.Serialization.cs | 6 ++--- .../Generated/Models/DatasetParquetFormat.cs | 2 +- .../Models/DatasetReference.Serialization.cs | 7 +++--- .../Generated/Models/DatasetReference.cs | 7 +++--- .../DatasetSchemaDataElement.Serialization.cs | 6 ++--- .../Models/DatasetSchemaDataElement.cs | 6 ++--- .../Generated/Models/DatasetStorageFormat.cs | 6 ++--- .../Models/DatasetTextFormat.Serialization.cs | 6 ++--- .../Generated/Models/DatasetTextFormat.cs | 2 +- .../DataworldLinkedService.Serialization.cs | 6 ++--- .../Models/DataworldLinkedService.cs | 2 +- .../Models/Db2LinkedService.Serialization.cs | 6 ++--- .../Generated/Models/Db2LinkedService.cs | 2 +- .../Models/Db2Source.Serialization.cs | 6 ++--- .../Generated/Models/Db2Source.cs | 2 +- .../Models/Db2TableDataset.Serialization.cs | 6 ++--- .../Generated/Models/Db2TableDataset.cs | 2 +- .../Models/DeleteActivity.Serialization.cs | 6 ++--- .../Generated/Models/DeleteActivity.cs | 2 +- .../DelimitedTextDataset.Serialization.cs | 6 ++--- .../Generated/Models/DelimitedTextDataset.cs | 2 +- ...DelimitedTextReadSettings.Serialization.cs | 6 ++--- .../Models/DelimitedTextReadSettings.cs | 2 +- .../Models/DelimitedTextSink.Serialization.cs | 6 ++--- .../Generated/Models/DelimitedTextSink.cs | 2 +- .../DelimitedTextSource.Serialization.cs | 6 ++--- .../Generated/Models/DelimitedTextSource.cs | 2 +- ...elimitedTextWriteSettings.Serialization.cs | 6 ++--- .../Models/DelimitedTextWriteSettings.cs | 2 +- ...cumentDBCollectionDataset.Serialization.cs | 6 ++--- .../Models/DocumentDBCollectionDataset.cs | 2 +- .../DocumentDBCollectionSink.Serialization.cs | 6 ++--- .../Models/DocumentDBCollectionSink.cs | 2 +- ...ocumentDBCollectionSource.Serialization.cs | 6 ++--- .../Models/DocumentDBCollectionSource.cs | 2 +- .../DrillLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/DrillLinkedService.cs | 2 +- .../Models/DrillSource.Serialization.cs | 6 ++--- .../Generated/Models/DrillSource.cs | 2 +- .../Models/DrillTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/DrillTableDataset.cs | 2 +- .../DynamicsAXLinkedService.Serialization.cs | 6 ++--- .../Models/DynamicsAXLinkedService.cs | 2 +- ...DynamicsAXResourceDataset.Serialization.cs | 6 ++--- .../Models/DynamicsAXResourceDataset.cs | 2 +- .../Models/DynamicsAXSource.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsAXSource.cs | 2 +- .../DynamicsCrmEntityDataset.Serialization.cs | 6 ++--- .../Models/DynamicsCrmEntityDataset.cs | 2 +- .../DynamicsCrmLinkedService.Serialization.cs | 6 ++--- .../Models/DynamicsCrmLinkedService.cs | 2 +- .../Models/DynamicsCrmSink.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsCrmSink.cs | 2 +- .../Models/DynamicsCrmSource.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsCrmSource.cs | 2 +- .../DynamicsEntityDataset.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsEntityDataset.cs | 2 +- .../DynamicsLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsLinkedService.cs | 2 +- .../Models/DynamicsSink.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsSink.cs | 2 +- .../Models/DynamicsSource.Serialization.cs | 6 ++--- .../Generated/Models/DynamicsSource.cs | 2 +- .../EloquaLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/EloquaLinkedService.cs | 2 +- .../EloquaObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/EloquaObjectDataset.cs | 2 +- .../Models/EloquaSource.Serialization.cs | 6 ++--- .../Generated/Models/EloquaSource.cs | 2 +- .../Models/ExcelDataset.Serialization.cs | 6 ++--- .../Generated/Models/ExcelDataset.cs | 2 +- .../Models/ExcelSource.Serialization.cs | 6 ++--- .../Generated/Models/ExcelSource.cs | 2 +- .../ExecuteDataFlowActivity.Serialization.cs | 6 ++--- .../Models/ExecuteDataFlowActivity.cs | 2 +- .../ExecutePipelineActivity.Serialization.cs | 6 ++--- .../Models/ExecutePipelineActivity.cs | 2 +- ...utePipelineActivityPolicy.Serialization.cs | 7 +++--- .../Models/ExecutePipelineActivityPolicy.cs | 7 +++--- ...xecuteSsisPackageActivity.Serialization.cs | 6 ++--- .../Models/ExecuteSsisPackageActivity.cs | 2 +- ...WranglingDataflowActivity.Serialization.cs | 6 ++--- .../ExecuteWranglingDataflowActivity.cs | 2 +- .../Models/ExecutionActivity.Serialization.cs | 6 ++--- .../Generated/Models/ExecutionActivity.cs | 2 +- .../Generated/Models/ExportSettings.cs | 7 +++--- .../Models/FailActivity.Serialization.cs | 6 ++--- .../Generated/Models/FailActivity.cs | 2 +- .../FileServerLinkedService.Serialization.cs | 6 ++--- .../Models/FileServerLinkedService.cs | 2 +- .../FileServerLocation.Serialization.cs | 6 ++--- .../Generated/Models/FileServerLocation.cs | 2 +- .../FileServerReadSettings.Serialization.cs | 6 ++--- .../Models/FileServerReadSettings.cs | 2 +- .../FileServerWriteSettings.Serialization.cs | 6 ++--- .../Models/FileServerWriteSettings.cs | 2 +- .../Models/FileShareDataset.Serialization.cs | 6 ++--- .../Generated/Models/FileShareDataset.cs | 2 +- .../Models/FileSystemSink.Serialization.cs | 6 ++--- .../Generated/Models/FileSystemSink.cs | 2 +- .../Models/FileSystemSource.Serialization.cs | 6 ++--- .../Generated/Models/FileSystemSource.cs | 2 +- .../Models/FilterActivity.Serialization.cs | 7 +++--- .../Generated/Models/FilterActivity.cs | 3 ++- .../Models/ForEachActivity.Serialization.cs | 7 +++--- .../Generated/Models/ForEachActivity.cs | 3 ++- .../Generated/Models/FormatReadSettings.cs | 7 +++--- .../Generated/Models/FormatWriteSettings.cs | 7 +++--- .../Models/FtpReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/FtpReadSettings.cs | 2 +- .../FtpServerLinkedService.Serialization.cs | 6 ++--- .../Models/FtpServerLinkedService.cs | 2 +- .../Models/FtpServerLocation.Serialization.cs | 6 ++--- .../Generated/Models/FtpServerLocation.cs | 2 +- ...etDatasetMetadataActivity.Serialization.cs | 6 ++--- .../Models/GetDatasetMetadataActivity.cs | 2 +- ...oogleAdWordsLinkedService.Serialization.cs | 6 ++--- .../Models/GoogleAdWordsLinkedService.cs | 2 +- ...oogleAdWordsObjectDataset.Serialization.cs | 6 ++--- .../Models/GoogleAdWordsObjectDataset.cs | 2 +- .../GoogleAdWordsSource.Serialization.cs | 6 ++--- .../Generated/Models/GoogleAdWordsSource.cs | 2 +- ...ogleBigQueryLinkedService.Serialization.cs | 6 ++--- .../Models/GoogleBigQueryLinkedService.cs | 2 +- ...ogleBigQueryObjectDataset.Serialization.cs | 6 ++--- .../Models/GoogleBigQueryObjectDataset.cs | 2 +- .../GoogleBigQuerySource.Serialization.cs | 6 ++--- .../Generated/Models/GoogleBigQuerySource.cs | 2 +- ...CloudStorageLinkedService.Serialization.cs | 6 ++--- .../Models/GoogleCloudStorageLinkedService.cs | 2 +- ...oogleCloudStorageLocation.Serialization.cs | 6 ++--- .../Models/GoogleCloudStorageLocation.cs | 2 +- ...eCloudStorageReadSettings.Serialization.cs | 6 ++--- .../Models/GoogleCloudStorageReadSettings.cs | 2 +- ...GoogleSheetsLinkedService.Serialization.cs | 6 ++--- .../Models/GoogleSheetsLinkedService.cs | 2 +- .../GreenplumLinkedService.Serialization.cs | 6 ++--- .../Models/GreenplumLinkedService.cs | 2 +- .../Models/GreenplumSource.Serialization.cs | 6 ++--- .../Generated/Models/GreenplumSource.cs | 2 +- .../GreenplumTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/GreenplumTableDataset.cs | 2 +- .../HBaseLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/HBaseLinkedService.cs | 2 +- .../HBaseObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/HBaseObjectDataset.cs | 2 +- .../Models/HBaseSource.Serialization.cs | 6 ++--- .../Generated/Models/HBaseSource.cs | 2 +- .../HDInsightHiveActivity.Serialization.cs | 18 +++++++------- .../Generated/Models/HDInsightHiveActivity.cs | 10 ++++---- .../HDInsightLinkedService.Serialization.cs | 6 ++--- .../Models/HDInsightLinkedService.cs | 2 +- ...DInsightMapReduceActivity.Serialization.cs | 12 +++++----- .../Models/HDInsightMapReduceActivity.cs | 6 ++--- ...ightOnDemandLinkedService.Serialization.cs | 6 ++--- .../Models/HDInsightOnDemandLinkedService.cs | 2 +- .../HDInsightPigActivity.Serialization.cs | 12 +++++----- .../Generated/Models/HDInsightPigActivity.cs | 6 ++--- .../HDInsightSparkActivity.Serialization.cs | 12 +++++----- .../Models/HDInsightSparkActivity.cs | 6 ++--- ...DInsightStreamingActivity.Serialization.cs | 12 +++++----- .../Models/HDInsightStreamingActivity.cs | 6 ++--- .../Models/HdfsLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/HdfsLinkedService.cs | 2 +- .../Models/HdfsLocation.Serialization.cs | 6 ++--- .../Generated/Models/HdfsLocation.cs | 2 +- .../Models/HdfsReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/HdfsReadSettings.cs | 2 +- .../Models/HdfsSource.Serialization.cs | 6 ++--- .../Generated/Models/HdfsSource.cs | 2 +- .../Models/HiveLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/HiveLinkedService.cs | 2 +- .../Models/HiveObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/HiveObjectDataset.cs | 2 +- .../Models/HiveSource.Serialization.cs | 6 ++--- .../Generated/Models/HiveSource.cs | 2 +- .../Models/HttpLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/HttpLinkedService.cs | 2 +- .../Models/HttpReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/HttpReadSettings.cs | 2 +- .../HttpServerLocation.Serialization.cs | 6 ++--- .../Generated/Models/HttpServerLocation.cs | 2 +- .../HubspotLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/HubspotLinkedService.cs | 2 +- .../HubspotObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/HubspotObjectDataset.cs | 2 +- .../Models/HubspotSource.Serialization.cs | 6 ++--- .../Generated/Models/HubspotSource.cs | 2 +- .../IfConditionActivity.Serialization.cs | 7 +++--- .../Generated/Models/IfConditionActivity.cs | 3 ++- .../ImpalaLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/ImpalaLinkedService.cs | 2 +- .../ImpalaObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/ImpalaObjectDataset.cs | 2 +- .../Models/ImpalaSource.Serialization.cs | 6 ++--- .../Generated/Models/ImpalaSource.cs | 2 +- .../Generated/Models/ImportSettings.cs | 7 +++--- .../InformixLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/InformixLinkedService.cs | 2 +- .../Models/InformixSink.Serialization.cs | 6 ++--- .../Generated/Models/InformixSink.cs | 2 +- .../Models/InformixSource.Serialization.cs | 6 ++--- .../Generated/Models/InformixSource.cs | 2 +- .../InformixTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/InformixTableDataset.cs | 2 +- ...nRuntimeComputeProperties.Serialization.cs | 7 +++--- .../IntegrationRuntimeComputeProperties.cs | 7 +++--- ...tionRuntimeConnectionInfo.Serialization.cs | 7 +++--- .../IntegrationRuntimeConnectionInfo.cs | 7 +++--- ...RuntimeDataFlowProperties.Serialization.cs | 7 +++--- .../IntegrationRuntimeDataFlowProperties.cs | 7 +++--- ...RuntimeNodeMonitoringData.Serialization.cs | 7 +++--- .../IntegrationRuntimeNodeMonitoringData.cs | 7 +++--- ...tegrationRuntimeReference.Serialization.cs | 7 +++--- .../Models/IntegrationRuntimeReference.cs | 7 +++--- ...ionRuntimeSsisCatalogInfo.Serialization.cs | 6 ++--- .../IntegrationRuntimeSsisCatalogInfo.cs | 6 ++--- ...tionRuntimeSsisProperties.Serialization.cs | 7 +++--- .../IntegrationRuntimeSsisProperties.cs | 7 +++--- .../Models/IntegrationRuntimeStatus.cs | 7 +++--- ...tionRuntimeVnetProperties.Serialization.cs | 7 +++--- .../IntegrationRuntimeVnetProperties.cs | 7 +++--- .../Models/JiraLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/JiraLinkedService.cs | 2 +- .../Models/JiraObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/JiraObjectDataset.cs | 2 +- .../Models/JiraSource.Serialization.cs | 6 ++--- .../Generated/Models/JiraSource.cs | 2 +- .../Models/JsonDataset.Serialization.cs | 6 ++--- .../Generated/Models/JsonDataset.cs | 2 +- .../Models/JsonReadSettings.Serialization.cs | 7 +++--- .../Generated/Models/JsonReadSettings.cs | 4 +++- .../Models/JsonSink.Serialization.cs | 6 ++--- .../Generated/Models/JsonSink.cs | 2 +- .../Models/JsonSource.Serialization.cs | 6 ++--- .../Generated/Models/JsonSource.cs | 2 +- .../Models/JsonWriteSettings.Serialization.cs | 7 +++--- .../Generated/Models/JsonWriteSettings.cs | 4 +++- .../LogStorageSettings.Serialization.cs | 6 ++--- .../Generated/Models/LogStorageSettings.cs | 6 ++--- .../Models/LookupActivity.Serialization.cs | 6 ++--- .../Generated/Models/LookupActivity.cs | 2 +- .../MagentoLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/MagentoLinkedService.cs | 2 +- .../MagentoObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/MagentoObjectDataset.cs | 2 +- .../Models/MagentoSource.Serialization.cs | 6 ++--- .../Generated/Models/MagentoSource.cs | 2 +- ...ManagedIntegrationRuntime.Serialization.cs | 7 +++--- .../Models/ManagedIntegrationRuntime.cs | 3 ++- ...edIntegrationRuntimeError.Serialization.cs | 7 +++--- .../Models/ManagedIntegrationRuntimeError.cs | 7 +++--- ...gedIntegrationRuntimeNode.Serialization.cs | 7 +++--- .../Models/ManagedIntegrationRuntimeNode.cs | 7 +++--- ...ionRuntimeOperationResult.Serialization.cs | 7 +++--- ...anagedIntegrationRuntimeOperationResult.cs | 7 +++--- ...dIntegrationRuntimeStatus.Serialization.cs | 7 +++--- .../Models/ManagedIntegrationRuntimeStatus.cs | 3 ++- .../MariaDBLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/MariaDBLinkedService.cs | 2 +- .../Models/MariaDBSource.Serialization.cs | 6 ++--- .../Generated/Models/MariaDBSource.cs | 2 +- .../MariaDBTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/MariaDBTableDataset.cs | 2 +- .../MarketoLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/MarketoLinkedService.cs | 2 +- .../MarketoObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/MarketoObjectDataset.cs | 2 +- .../Models/MarketoSource.Serialization.cs | 6 ++--- .../Generated/Models/MarketoSource.cs | 2 +- ...rosoftAccessLinkedService.Serialization.cs | 6 ++--- .../Models/MicrosoftAccessLinkedService.cs | 2 +- .../MicrosoftAccessSink.Serialization.cs | 6 ++--- .../Generated/Models/MicrosoftAccessSink.cs | 2 +- .../MicrosoftAccessSource.Serialization.cs | 6 ++--- .../Generated/Models/MicrosoftAccessSource.cs | 2 +- ...crosoftAccessTableDataset.Serialization.cs | 6 ++--- .../Models/MicrosoftAccessTableDataset.cs | 2 +- ...oDBAtlasCollectionDataset.Serialization.cs | 6 ++--- .../Models/MongoDBAtlasCollectionDataset.cs | 2 +- ...MongoDBAtlasLinkedService.Serialization.cs | 6 ++--- .../Models/MongoDBAtlasLinkedService.cs | 2 +- .../Models/MongoDBAtlasSink.Serialization.cs | 6 ++--- .../Generated/Models/MongoDBAtlasSink.cs | 2 +- .../MongoDBAtlasSource.Serialization.cs | 6 ++--- .../Generated/Models/MongoDBAtlasSource.cs | 2 +- .../MongoDBCollectionDataset.Serialization.cs | 6 ++--- .../Models/MongoDBCollectionDataset.cs | 2 +- ...DBCursorMethodsProperties.Serialization.cs | 6 ++--- .../Models/MongoDBCursorMethodsProperties.cs | 6 ++--- .../MongoDBLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/MongoDBLinkedService.cs | 2 +- .../Models/MongoDBSource.Serialization.cs | 6 ++--- .../Generated/Models/MongoDBSource.cs | 2 +- ...ongoDBV2CollectionDataset.Serialization.cs | 6 ++--- .../Models/MongoDBV2CollectionDataset.cs | 2 +- .../MongoDBV2LinkedService.Serialization.cs | 6 ++--- .../Models/MongoDBV2LinkedService.cs | 2 +- .../Models/MongoDBV2Sink.Serialization.cs | 6 ++--- .../Generated/Models/MongoDBV2Sink.cs | 2 +- .../Models/MongoDBV2Source.Serialization.cs | 6 ++--- .../Generated/Models/MongoDBV2Source.cs | 2 +- .../MultiplePipelineTrigger.Serialization.cs | 7 +++--- .../Models/MultiplePipelineTrigger.cs | 3 ++- .../MySqlLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/MySqlLinkedService.cs | 2 +- .../Models/MySqlSource.Serialization.cs | 6 ++--- .../Generated/Models/MySqlSource.cs | 2 +- .../Models/MySqlTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/MySqlTableDataset.cs | 2 +- .../NetezzaLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/NetezzaLinkedService.cs | 2 +- .../Models/NetezzaSource.Serialization.cs | 6 ++--- .../Generated/Models/NetezzaSource.cs | 2 +- .../NetezzaTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/NetezzaTableDataset.cs | 2 +- .../ODataLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/ODataLinkedService.cs | 2 +- .../ODataResourceDataset.Serialization.cs | 6 ++--- .../Generated/Models/ODataResourceDataset.cs | 2 +- .../Models/ODataSource.Serialization.cs | 6 ++--- .../Generated/Models/ODataSource.cs | 2 +- .../Models/OdbcLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/OdbcLinkedService.cs | 2 +- .../Models/OdbcSink.Serialization.cs | 6 ++--- .../Generated/Models/OdbcSink.cs | 2 +- .../Models/OdbcSource.Serialization.cs | 6 ++--- .../Generated/Models/OdbcSource.cs | 2 +- .../Models/OdbcTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/OdbcTableDataset.cs | 2 +- .../Models/Office365Dataset.Serialization.cs | 6 ++--- .../Generated/Models/Office365Dataset.cs | 2 +- .../Office365LinkedService.Serialization.cs | 6 ++--- .../Models/Office365LinkedService.cs | 2 +- .../Models/Office365Source.Serialization.cs | 6 ++--- .../Generated/Models/Office365Source.cs | 2 +- ...CloudStorageLinkedService.Serialization.cs | 6 ++--- .../Models/OracleCloudStorageLinkedService.cs | 2 +- ...racleCloudStorageLocation.Serialization.cs | 6 ++--- .../Models/OracleCloudStorageLocation.cs | 2 +- ...eCloudStorageReadSettings.Serialization.cs | 6 ++--- .../Models/OracleCloudStorageReadSettings.cs | 2 +- .../OracleLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/OracleLinkedService.cs | 2 +- ...ServiceCloudLinkedService.Serialization.cs | 6 ++--- .../Models/OracleServiceCloudLinkedService.cs | 2 +- ...ServiceCloudObjectDataset.Serialization.cs | 6 ++--- .../Models/OracleServiceCloudObjectDataset.cs | 2 +- .../OracleServiceCloudSource.Serialization.cs | 6 ++--- .../Models/OracleServiceCloudSource.cs | 2 +- .../Models/OracleSink.Serialization.cs | 6 ++--- .../Generated/Models/OracleSink.cs | 2 +- .../Models/OracleSource.Serialization.cs | 6 ++--- .../Generated/Models/OracleSource.cs | 2 +- .../OracleTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/OracleTableDataset.cs | 2 +- .../Models/OrcDataset.Serialization.cs | 6 ++--- .../Generated/Models/OrcDataset.cs | 2 +- .../Generated/Models/OrcSink.Serialization.cs | 6 ++--- .../Generated/Models/OrcSink.cs | 2 +- .../Models/OrcSource.Serialization.cs | 6 ++--- .../Generated/Models/OrcSource.cs | 2 +- .../Models/OrcWriteSettings.Serialization.cs | 6 ++--- .../Generated/Models/OrcWriteSettings.cs | 2 +- .../Models/ParquetDataset.Serialization.cs | 6 ++--- .../Generated/Models/ParquetDataset.cs | 2 +- .../Models/ParquetSink.Serialization.cs | 6 ++--- .../Generated/Models/ParquetSink.cs | 2 +- .../Models/ParquetSource.Serialization.cs | 6 ++--- .../Generated/Models/ParquetSource.cs | 2 +- .../ParquetWriteSettings.Serialization.cs | 6 ++--- .../Generated/Models/ParquetWriteSettings.cs | 2 +- .../PaypalLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/PaypalLinkedService.cs | 2 +- .../PaypalObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/PaypalObjectDataset.cs | 2 +- .../Models/PaypalSource.Serialization.cs | 6 ++--- .../Generated/Models/PaypalSource.cs | 2 +- .../PhoenixLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/PhoenixLinkedService.cs | 2 +- .../PhoenixObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/PhoenixObjectDataset.cs | 2 +- .../Models/PhoenixSource.Serialization.cs | 6 ++--- .../Generated/Models/PhoenixSource.cs | 2 +- .../Generated/Models/PipelineActivity.cs | 7 +++--- ...ipelineActivityDependency.Serialization.cs | 7 +++--- .../Models/PipelineActivityDependency.cs | 7 +++--- .../PipelineActivityPolicy.Serialization.cs | 6 ++--- .../Models/PipelineActivityPolicy.cs | 6 ++--- ...ineActivityRunInformation.Serialization.cs | 7 +++--- .../Models/PipelineActivityRunInformation.cs | 7 +++--- ...nalComputeScaleProperties.Serialization.cs | 7 +++--- .../PipelineExternalComputeScaleProperties.cs | 7 +++--- .../Models/PolybaseSettings.Serialization.cs | 6 ++--- .../Generated/Models/PolybaseSettings.cs | 6 ++--- .../PostgreSqlLinkedService.Serialization.cs | 6 ++--- .../Models/PostgreSqlLinkedService.cs | 2 +- .../Models/PostgreSqlSource.Serialization.cs | 6 ++--- .../Generated/Models/PostgreSqlSource.cs | 2 +- .../PostgreSqlTableDataset.Serialization.cs | 6 ++--- .../Models/PostgreSqlTableDataset.cs | 2 +- .../PrestoLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/PrestoLinkedService.cs | 2 +- .../PrestoObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/PrestoObjectDataset.cs | 2 +- .../Models/PrestoSource.Serialization.cs | 6 ++--- .../Generated/Models/PrestoSource.cs | 2 +- .../QuickBooksLinkedService.Serialization.cs | 6 ++--- .../Models/QuickBooksLinkedService.cs | 2 +- .../QuickBooksObjectDataset.Serialization.cs | 6 ++--- .../Models/QuickBooksObjectDataset.cs | 2 +- .../Models/QuickBooksSource.Serialization.cs | 6 ++--- .../Generated/Models/QuickBooksSource.cs | 2 +- .../QuickbaseLinkedService.Serialization.cs | 6 ++--- .../Models/QuickbaseLinkedService.cs | 2 +- ...ctIncompatibleRowSettings.Serialization.cs | 6 ++--- .../Models/RedirectIncompatibleRowSettings.cs | 6 ++--- .../Models/RelationalSource.Serialization.cs | 6 ++--- .../Generated/Models/RelationalSource.cs | 2 +- .../RelationalTableDataset.Serialization.cs | 6 ++--- .../Models/RelationalTableDataset.cs | 2 +- ...erunTumblingWindowTrigger.Serialization.cs | 7 +++--- .../Models/RerunTumblingWindowTrigger.cs | 3 ++- .../ResponsysLinkedService.Serialization.cs | 6 ++--- .../Models/ResponsysLinkedService.cs | 2 +- .../ResponsysObjectDataset.Serialization.cs | 6 ++--- .../Models/ResponsysObjectDataset.cs | 2 +- .../Models/ResponsysSource.Serialization.cs | 6 ++--- .../Generated/Models/ResponsysSource.cs | 2 +- .../RestResourceDataset.Serialization.cs | 18 +++++++------- .../Generated/Models/RestResourceDataset.cs | 10 ++++---- .../RestServiceLinkedService.Serialization.cs | 6 ++--- .../Models/RestServiceLinkedService.cs | 2 +- .../Models/RestSink.Serialization.cs | 6 ++--- .../Generated/Models/RestSink.cs | 2 +- .../Models/RestSource.Serialization.cs | 6 ++--- .../Generated/Models/RestSource.cs | 2 +- .../SalesforceLinkedService.Serialization.cs | 6 ++--- .../Models/SalesforceLinkedService.cs | 2 +- ...rketingCloudLinkedService.Serialization.cs | 6 ++--- .../SalesforceMarketingCloudLinkedService.cs | 2 +- ...rketingCloudObjectDataset.Serialization.cs | 6 ++--- .../SalesforceMarketingCloudObjectDataset.cs | 2 +- ...forceMarketingCloudSource.Serialization.cs | 6 ++--- .../Models/SalesforceMarketingCloudSource.cs | 2 +- .../SalesforceObjectDataset.Serialization.cs | 6 ++--- .../Models/SalesforceObjectDataset.cs | 2 +- ...ServiceCloudLinkedService.Serialization.cs | 6 ++--- .../SalesforceServiceCloudLinkedService.cs | 2 +- ...ServiceCloudObjectDataset.Serialization.cs | 6 ++--- .../SalesforceServiceCloudObjectDataset.cs | 2 +- ...alesforceServiceCloudSink.Serialization.cs | 6 ++--- .../Models/SalesforceServiceCloudSink.cs | 2 +- ...esforceServiceCloudSource.Serialization.cs | 6 ++--- .../Models/SalesforceServiceCloudSource.cs | 2 +- .../Models/SalesforceSink.Serialization.cs | 6 ++--- .../Generated/Models/SalesforceSink.cs | 2 +- .../Models/SalesforceSource.Serialization.cs | 6 ++--- .../Generated/Models/SalesforceSource.cs | 2 +- .../Models/SapBWCubeDataset.Serialization.cs | 6 ++--- .../Generated/Models/SapBWCubeDataset.cs | 2 +- .../SapBWLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SapBWLinkedService.cs | 2 +- .../Models/SapBWSource.Serialization.cs | 6 ++--- .../Generated/Models/SapBWSource.cs | 2 +- ...dForCustomerLinkedService.Serialization.cs | 6 ++--- .../SapCloudForCustomerLinkedService.cs | 2 +- ...orCustomerResourceDataset.Serialization.cs | 6 ++--- .../SapCloudForCustomerResourceDataset.cs | 2 +- .../SapCloudForCustomerSink.Serialization.cs | 6 ++--- .../Models/SapCloudForCustomerSink.cs | 2 +- ...SapCloudForCustomerSource.Serialization.cs | 6 ++--- .../Models/SapCloudForCustomerSource.cs | 2 +- .../SapEccLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SapEccLinkedService.cs | 2 +- .../SapEccResourceDataset.Serialization.cs | 6 ++--- .../Generated/Models/SapEccResourceDataset.cs | 2 +- .../Models/SapEccSource.Serialization.cs | 6 ++--- .../Generated/Models/SapEccSource.cs | 2 +- .../SapHanaLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SapHanaLinkedService.cs | 2 +- .../Models/SapHanaSource.Serialization.cs | 6 ++--- .../Generated/Models/SapHanaSource.cs | 2 +- .../SapHanaTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/SapHanaTableDataset.cs | 2 +- .../SapOdpLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SapOdpLinkedService.cs | 2 +- .../SapOdpResourceDataset.Serialization.cs | 6 ++--- .../Generated/Models/SapOdpResourceDataset.cs | 2 +- .../Models/SapOdpSource.Serialization.cs | 6 ++--- .../Generated/Models/SapOdpSource.cs | 2 +- .../SapOpenHubLinkedService.Serialization.cs | 6 ++--- .../Models/SapOpenHubLinkedService.cs | 2 +- .../Models/SapOpenHubSource.Serialization.cs | 6 ++--- .../Generated/Models/SapOpenHubSource.cs | 2 +- .../SapOpenHubTableDataset.Serialization.cs | 6 ++--- .../Models/SapOpenHubTableDataset.cs | 2 +- .../SapTableLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SapTableLinkedService.cs | 2 +- .../SapTableResourceDataset.Serialization.cs | 6 ++--- .../Models/SapTableResourceDataset.cs | 2 +- .../Models/SapTableSource.Serialization.cs | 6 ++--- .../Generated/Models/SapTableSource.cs | 2 +- ...ScheduleTriggerRecurrence.Serialization.cs | 7 +++--- .../Models/ScheduleTriggerRecurrence.cs | 7 +++--- ...fHostedIntegrationRuntime.Serialization.cs | 7 +++--- .../Models/SelfHostedIntegrationRuntime.cs | 4 +++- ...tedIntegrationRuntimeNode.Serialization.cs | 7 +++--- .../SelfHostedIntegrationRuntimeNode.cs | 7 +++--- ...dIntegrationRuntimeStatus.Serialization.cs | 7 +++--- .../SelfHostedIntegrationRuntimeStatus.cs | 3 ++- .../ServiceNowLinkedService.Serialization.cs | 6 ++--- .../Models/ServiceNowLinkedService.cs | 2 +- .../ServiceNowObjectDataset.Serialization.cs | 6 ++--- .../Models/ServiceNowObjectDataset.cs | 2 +- .../Models/ServiceNowSource.Serialization.cs | 6 ++--- .../Generated/Models/ServiceNowSource.cs | 2 +- ...ervicePrincipalCredential.Serialization.cs | 6 ++--- .../Models/ServicePrincipalCredential.cs | 2 +- .../SetVariableActivity.Serialization.cs | 6 ++--- .../Generated/Models/SetVariableActivity.cs | 2 +- .../Models/SftpLocation.Serialization.cs | 6 ++--- .../Generated/Models/SftpLocation.cs | 2 +- .../Models/SftpReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/SftpReadSettings.cs | 2 +- .../SftpServerLinkedService.Serialization.cs | 6 ++--- .../Models/SftpServerLinkedService.cs | 2 +- .../Models/SftpWriteSettings.Serialization.cs | 6 ++--- .../Generated/Models/SftpWriteSettings.cs | 2 +- ...ntOnlineListLinkedService.Serialization.cs | 6 ++--- .../SharePointOnlineListLinkedService.cs | 2 +- ...OnlineListResourceDataset.Serialization.cs | 6 ++--- .../SharePointOnlineListResourceDataset.cs | 2 +- ...harePointOnlineListSource.Serialization.cs | 6 ++--- .../Models/SharePointOnlineListSource.cs | 2 +- .../ShopifyLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/ShopifyLinkedService.cs | 2 +- .../ShopifyObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/ShopifyObjectDataset.cs | 2 +- .../Models/ShopifySource.Serialization.cs | 6 ++--- .../Generated/Models/ShopifySource.cs | 2 +- .../SmartsheetLinkedService.Serialization.cs | 6 ++--- .../Models/SmartsheetLinkedService.cs | 2 +- .../Models/SnowflakeDataset.Serialization.cs | 6 ++--- .../Generated/Models/SnowflakeDataset.cs | 2 +- ...nowflakeExportCopyCommand.Serialization.cs | 19 ++++++++------- .../Models/SnowflakeExportCopyCommand.cs | 11 +++++---- ...nowflakeImportCopyCommand.Serialization.cs | 19 ++++++++------- .../Models/SnowflakeImportCopyCommand.cs | 11 +++++---- .../SnowflakeLinkedService.Serialization.cs | 6 ++--- .../Models/SnowflakeLinkedService.cs | 2 +- .../Models/SnowflakeSink.Serialization.cs | 6 ++--- .../Generated/Models/SnowflakeSink.cs | 2 +- .../Models/SnowflakeSource.Serialization.cs | 6 ++--- .../Generated/Models/SnowflakeSource.cs | 2 +- .../SparkLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SparkLinkedService.cs | 2 +- .../SparkObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/SparkObjectDataset.cs | 2 +- .../Models/SparkSource.Serialization.cs | 6 ++--- .../Generated/Models/SparkSource.cs | 2 +- .../Models/SqlDWSink.Serialization.cs | 6 ++--- .../Generated/Models/SqlDWSink.cs | 2 +- .../Models/SqlDWSource.Serialization.cs | 6 ++--- .../Generated/Models/SqlDWSource.cs | 2 +- .../Models/SqlMISink.Serialization.cs | 6 ++--- .../Generated/Models/SqlMISink.cs | 2 +- .../Models/SqlMISource.Serialization.cs | 6 ++--- .../Generated/Models/SqlMISource.cs | 2 +- .../SqlServerLinkedService.Serialization.cs | 6 ++--- .../Models/SqlServerLinkedService.cs | 2 +- .../Models/SqlServerSink.Serialization.cs | 6 ++--- .../Generated/Models/SqlServerSink.cs | 2 +- .../Models/SqlServerSource.Serialization.cs | 6 ++--- .../Generated/Models/SqlServerSource.cs | 2 +- ...erStoredProcedureActivity.Serialization.cs | 6 ++--- .../SqlServerStoredProcedureActivity.cs | 2 +- .../SqlServerTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/SqlServerTableDataset.cs | 2 +- .../Generated/Models/SqlSink.Serialization.cs | 6 ++--- .../Generated/Models/SqlSink.cs | 2 +- .../Models/SqlSource.Serialization.cs | 6 ++--- .../Generated/Models/SqlSource.cs | 2 +- .../SquareLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SquareLinkedService.cs | 2 +- .../SquareObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/SquareObjectDataset.cs | 2 +- .../Models/SquareSource.Serialization.cs | 6 ++--- .../Generated/Models/SquareSource.cs | 2 +- .../Models/StagingSettings.Serialization.cs | 6 ++--- .../Generated/Models/StagingSettings.cs | 6 ++--- .../Generated/Models/StoreReadSettings.cs | 6 ++--- .../Generated/Models/StoreWriteSettings.cs | 6 ++--- .../Models/SwitchActivity.Serialization.cs | 7 +++--- .../Generated/Models/SwitchActivity.cs | 3 ++- .../SybaseLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/SybaseLinkedService.cs | 2 +- .../Models/SybaseSource.Serialization.cs | 6 ++--- .../Generated/Models/SybaseSource.cs | 2 +- .../SybaseTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/SybaseTableDataset.cs | 2 +- .../SynapseNotebookActivity.Serialization.cs | 12 +++++----- .../Models/SynapseNotebookActivity.cs | 6 ++--- ...parkJobDefinitionActivity.Serialization.cs | 12 +++++----- .../SynapseSparkJobDefinitionActivity.cs | 6 ++--- .../Models/TabularSource.Serialization.cs | 6 ++--- .../Generated/Models/TabularSource.cs | 2 +- .../TarGzipReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/TarGzipReadSettings.cs | 2 +- .../Models/TarReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/TarReadSettings.cs | 2 +- .../TeamDeskLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/TeamDeskLinkedService.cs | 2 +- .../TeradataLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/TeradataLinkedService.cs | 2 +- .../Models/TeradataSource.Serialization.cs | 6 ++--- .../Generated/Models/TeradataSource.cs | 2 +- .../TeradataTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/TeradataTableDataset.cs | 2 +- .../TriggerPipelineReference.Serialization.cs | 7 +++--- .../Models/TriggerPipelineReference.cs | 7 +++--- .../TumblingWindowTrigger.Serialization.cs | 6 ++--- .../Generated/Models/TumblingWindowTrigger.cs | 2 +- .../TwilioLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/TwilioLinkedService.cs | 2 +- .../Models/UnknownActivity.Serialization.cs | 7 +++--- .../Generated/Models/UnknownActivity.cs | 4 +++- ...wnCompressionReadSettings.Serialization.cs | 7 +++--- .../Models/UnknownCompressionReadSettings.cs | 4 +++- .../Models/UnknownCopySink.Serialization.cs | 6 ++--- .../Generated/Models/UnknownCopySink.cs | 2 +- .../Models/UnknownCopySource.Serialization.cs | 6 ++--- .../Generated/Models/UnknownCopySource.cs | 2 +- .../Models/UnknownCredential.Serialization.cs | 7 +++--- .../Generated/Models/UnknownCredential.cs | 4 +++- .../Models/UnknownDataset.Serialization.cs | 6 ++--- .../Generated/Models/UnknownDataset.cs | 2 +- .../UnknownDatasetLocation.Serialization.cs | 6 ++--- .../Models/UnknownDatasetLocation.cs | 2 +- ...knownDatasetStorageFormat.Serialization.cs | 6 ++--- .../Models/UnknownDatasetStorageFormat.cs | 2 +- .../UnknownExportSettings.Serialization.cs | 7 +++--- .../Generated/Models/UnknownExportSettings.cs | 4 +++- ...UnknownFormatReadSettings.Serialization.cs | 7 +++--- .../Models/UnknownFormatReadSettings.cs | 4 +++- ...nknownFormatWriteSettings.Serialization.cs | 7 +++--- .../Models/UnknownFormatWriteSettings.cs | 4 +++- .../UnknownImportSettings.Serialization.cs | 7 +++--- .../Generated/Models/UnknownImportSettings.cs | 4 +++- ...UnknownIntegrationRuntime.Serialization.cs | 7 +++--- .../Models/UnknownIntegrationRuntime.cs | 4 +++- ...nIntegrationRuntimeStatus.Serialization.cs | 7 +++--- .../Models/UnknownIntegrationRuntimeStatus.cs | 4 +++- .../UnknownLinkedService.Serialization.cs | 7 +++--- .../Generated/Models/UnknownLinkedService.cs | 4 +++- .../UnknownStoreReadSettings.Serialization.cs | 6 ++--- .../Models/UnknownStoreReadSettings.cs | 2 +- ...UnknownStoreWriteSettings.Serialization.cs | 6 ++--- .../Models/UnknownStoreWriteSettings.cs | 2 +- .../Models/UnknownTrigger.Serialization.cs | 7 +++--- .../Generated/Models/UnknownTrigger.cs | 4 +++- .../Models/UntilActivity.Serialization.cs | 6 ++--- .../Generated/Models/UntilActivity.cs | 2 +- .../ValidationActivity.Serialization.cs | 6 ++--- .../Generated/Models/ValidationActivity.cs | 2 +- .../VerticaLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/VerticaLinkedService.cs | 2 +- .../Models/VerticaSource.Serialization.cs | 6 ++--- .../Generated/Models/VerticaSource.cs | 2 +- .../VerticaTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/VerticaTableDataset.cs | 2 +- .../Models/WaitActivity.Serialization.cs | 6 ++--- .../Generated/Models/WaitActivity.cs | 2 +- .../Models/WebActivity.Serialization.cs | 6 ++--- .../Generated/Models/WebActivity.cs | 2 +- .../Models/WebHookActivity.Serialization.cs | 6 ++--- .../Generated/Models/WebHookActivity.cs | 2 +- .../Models/WebLinkedService.Serialization.cs | 7 +++--- .../Generated/Models/WebLinkedService.cs | 3 ++- .../Models/WebSource.Serialization.cs | 6 ++--- .../Generated/Models/WebSource.cs | 2 +- .../Models/WebTableDataset.Serialization.cs | 6 ++--- .../Generated/Models/WebTableDataset.cs | 2 +- .../Models/XeroLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/XeroLinkedService.cs | 2 +- .../Models/XeroObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/XeroObjectDataset.cs | 2 +- .../Models/XeroSource.Serialization.cs | 6 ++--- .../Generated/Models/XeroSource.cs | 2 +- .../Models/XmlDataset.Serialization.cs | 6 ++--- .../Generated/Models/XmlDataset.cs | 2 +- .../Models/XmlReadSettings.Serialization.cs | 6 ++--- .../Generated/Models/XmlReadSettings.cs | 2 +- .../Models/XmlSource.Serialization.cs | 6 ++--- .../Generated/Models/XmlSource.cs | 2 +- .../ZendeskLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/ZendeskLinkedService.cs | 2 +- .../ZipDeflateReadSettings.Serialization.cs | 6 ++--- .../Models/ZipDeflateReadSettings.cs | 2 +- .../Models/ZohoLinkedService.Serialization.cs | 6 ++--- .../Generated/Models/ZohoLinkedService.cs | 2 +- .../Models/ZohoObjectDataset.Serialization.cs | 6 ++--- .../Generated/Models/ZohoObjectDataset.cs | 2 +- .../Models/ZohoSource.Serialization.cs | 6 ++--- .../Generated/Models/ZohoSource.cs | 2 +- .../Generated/Pipeline.cs | 11 +++++---- .../RestOperations/PipelinesRestOperations.cs | 7 +++--- 1044 files changed, 2485 insertions(+), 2324 deletions(-) diff --git a/src/AzureDataFactory.TestingFramework/AzureDataFactory.TestingFramework.csproj b/src/AzureDataFactory.TestingFramework/AzureDataFactory.TestingFramework.csproj index e591008e..05ea5bd2 100644 --- a/src/AzureDataFactory.TestingFramework/AzureDataFactory.TestingFramework.csproj +++ b/src/AzureDataFactory.TestingFramework/AzureDataFactory.TestingFramework.csproj @@ -16,7 +16,7 @@ AzureDataFactory.TestingFramework - 0.1.0-alpha + 0.1.1-alpha arjendev true diff --git a/src/AzureDataFactory.TestingFramework/Generated/DataFactoryChangeDataCaptureData.cs b/src/AzureDataFactory.TestingFramework/Generated/DataFactoryChangeDataCaptureData.cs index 2f69cedd..7bf8471b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/DataFactoryChangeDataCaptureData.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/DataFactoryChangeDataCaptureData.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; using AzureDataFactory.TestingFramework.Models; using Azure.ResourceManager.Models; @@ -31,7 +32,7 @@ public DataFactoryChangeDataCaptureData(IEnumerable SourceConnectionsInfo = sourceConnectionsInfo.ToList(); TargetConnectionsInfo = targetConnectionsInfo.ToList(); Policy = policy; - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryChangeDataCaptureData. @@ -48,7 +49,7 @@ public DataFactoryChangeDataCaptureData(IEnumerable /// Status of the CDC as to if it is running or stopped. /// Etag identifies change in the resource. /// Additional Properties. - internal DataFactoryChangeDataCaptureData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ChangeDataCaptureFolder folder, string description, IList sourceConnectionsInfo, IList targetConnectionsInfo, MapperPolicy policy, bool? allowVnetOverride, string status, ETag? eTag, IDictionary additionalProperties) : base(id, name, resourceType, systemData) + internal DataFactoryChangeDataCaptureData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ChangeDataCaptureFolder folder, string description, IList sourceConnectionsInfo, IList targetConnectionsInfo, MapperPolicy policy, bool? allowVnetOverride, string status, ETag? eTag, IDictionary> additionalProperties) : base(id, name, resourceType, systemData) { Folder = folder; Description = description; @@ -119,6 +120,6 @@ public string FolderName /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/DataFactoryData.cs b/src/AzureDataFactory.TestingFramework/Generated/DataFactoryData.cs index f888090c..ae7f1964 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/DataFactoryData.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/DataFactoryData.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; using AzureDataFactory.TestingFramework.Models; using Azure.ResourceManager.Models; @@ -22,7 +23,7 @@ public partial class DataFactoryData : TrackedResourceData public DataFactoryData(AzureLocation location) : base(location) { GlobalParameters = new ChangeTrackingDictionary(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryData. @@ -47,7 +48,7 @@ public DataFactoryData(AzureLocation location) : base(location) /// Whether or not public network access is allowed for the data factory. /// Etag identifies change in the resource. /// Additional Properties. - internal DataFactoryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string provisioningState, DateTimeOffset? createdOn, string version, DataFactoryPurviewConfiguration purviewConfiguration, FactoryRepoConfiguration repoConfiguration, IDictionary globalParameters, DataFactoryEncryptionConfiguration encryption, DataFactoryPublicNetworkAccess? publicNetworkAccess, ETag? eTag, IDictionary additionalProperties) : base(id, name, resourceType, systemData, tags, location) + internal DataFactoryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string provisioningState, DateTimeOffset? createdOn, string version, DataFactoryPurviewConfiguration purviewConfiguration, FactoryRepoConfiguration repoConfiguration, IDictionary globalParameters, DataFactoryEncryptionConfiguration encryption, DataFactoryPublicNetworkAccess? publicNetworkAccess, ETag? eTag, IDictionary> additionalProperties) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; ProvisioningState = provisioningState; @@ -128,6 +129,6 @@ public ResourceIdentifier PurviewResourceId /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/DataFactoryPipelineResource.cs b/src/AzureDataFactory.TestingFramework/Generated/DataFactoryPipelineResource.cs index d983cd31..bcae0f4c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/DataFactoryPipelineResource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/DataFactoryPipelineResource.cs @@ -7,6 +7,7 @@ using System.Globalization; using Azure.Core; +using Azure.Core.Expressions.DataFactory; using Azure.Core.Pipeline; using AzureDataFactory.TestingFramework.Models; @@ -313,7 +314,7 @@ public virtual ArmOperation Update(WaitUntil waitUn /// In recovery mode, the rerun will start from this activity. If not specified, all activities will run. /// In recovery mode, if set to true, the rerun will start from failed activities. The property will be used only if startActivityName is not specified. /// The cancellation token to use. - public virtual async Task> CreateRunAsync(IDictionary parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) + public virtual async Task> CreateRunAsync(IDictionary> parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) { using var scope = _dataFactoryPipelinePipelinesClientDiagnostics.CreateScope("DataFactoryPipelineResource.CreateRun"); scope.Start(); @@ -348,7 +349,7 @@ public virtual async Task> CreateRunAsync(IDic /// In recovery mode, the rerun will start from this activity. If not specified, all activities will run. /// In recovery mode, if set to true, the rerun will start from failed activities. The property will be used only if startActivityName is not specified. /// The cancellation token to use. - public virtual Response CreateRun(IDictionary parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) + public virtual Response CreateRun(IDictionary> parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) { using var scope = _dataFactoryPipelinePipelinesClientDiagnostics.CreateScope("DataFactoryPipelineResource.CreateRun"); scope.Start(); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.Serialization.cs index ab0ac6e2..9af9ebf8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.Serialization.cs @@ -132,8 +132,8 @@ internal static AmazonMwsLinkedService DeserializeAmazonMwsLinkedService(JsonEle Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -272,7 +272,7 @@ internal static AmazonMwsLinkedService DeserializeAmazonMwsLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonMwsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, marketplaceId, sellerId, mwsAuthToken, accessKeyId, secretKey, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.cs index 0fdd409f..2bc13359 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsLinkedService.cs @@ -50,7 +50,7 @@ public AmazonMwsLinkedService(DataFactoryElement endpoint, DataFactoryEl /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AmazonMwsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement endpoint, DataFactoryElement marketplaceId, DataFactoryElement sellerId, DataFactorySecretBaseDefinition mwsAuthToken, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretKey, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonMwsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement endpoint, DataFactoryElement marketplaceId, DataFactoryElement sellerId, DataFactorySecretBaseDefinition mwsAuthToken, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretKey, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; MarketplaceId = marketplaceId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.Serialization.cs index 38741867..c38e43ee 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static AmazonMwsObjectDataset DeserializeAmazonMwsObjectDataset(JsonEle Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static AmazonMwsObjectDataset DeserializeAmazonMwsObjectDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonMwsObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.cs index 95c7e081..ddf48559 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsObjectDataset.cs @@ -34,7 +34,7 @@ public AmazonMwsObjectDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal AmazonMwsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonMwsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "AmazonMWSObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.Serialization.cs index 68fc0544..0bd30e81 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.Serialization.cs @@ -83,8 +83,8 @@ internal static AmazonMwsSource DeserializeAmazonMwsSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static AmazonMwsSource DeserializeAmazonMwsSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonMwsSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.cs index 804c0fad..bd34826d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonMwsSource.cs @@ -28,7 +28,7 @@ public AmazonMwsSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal AmazonMwsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AmazonMwsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "AmazonMWSSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs index ffbbffa8..25b36251 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static AmazonRdsForOracleLinkedService DeserializeAmazonRdsForOracleLin DataFactoryElement connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -188,7 +188,7 @@ internal static AmazonRdsForOracleLinkedService DeserializeAmazonRdsForOracleLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRdsForOracleLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.cs index 82b36826..2d0fbf8f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleLinkedService.cs @@ -34,7 +34,7 @@ public AmazonRdsForOracleLinkedService(DataFactoryElement connectionStri /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AmazonRdsForOracleLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonRdsForOracleLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.Serialization.cs index 83b9b15d..5c5526e2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.Serialization.cs @@ -95,8 +95,8 @@ internal static AmazonRdsForOracleSource DeserializeAmazonRdsForOracleSource(Jso Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("oracleReaderQuery"u8)) @@ -185,7 +185,7 @@ internal static AmazonRdsForOracleSource DeserializeAmazonRdsForOracleSource(Jso disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRdsForOracleSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, oracleReaderQuery.Value, queryTimeout.Value, partitionOption.Value, partitionSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.cs index 53c5f78c..800c152f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleSource.cs @@ -30,7 +30,7 @@ public AmazonRdsForOracleSource() /// The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string). /// The settings that will be leveraged for AmazonRdsForOracle source partitioning. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal AmazonRdsForOracleSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement oracleReaderQuery, DataFactoryElement queryTimeout, DataFactoryElement partitionOption, AmazonRdsForOraclePartitionSettings partitionSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AmazonRdsForOracleSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement oracleReaderQuery, DataFactoryElement queryTimeout, DataFactoryElement partitionOption, AmazonRdsForOraclePartitionSettings partitionSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { OracleReaderQuery = oracleReaderQuery; QueryTimeout = queryTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs index 3431e670..83dbcf31 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static AmazonRdsForOracleTableDataset DeserializeAmazonRdsForOracleTabl Optional folder = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static AmazonRdsForOracleTableDataset DeserializeAmazonRdsForOracleTabl } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRdsForOracleTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.cs index c69f3766..e3a4a2ca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForOracleTableDataset.cs @@ -35,7 +35,7 @@ public AmazonRdsForOracleTableDataset(DataFactoryLinkedServiceReference linkedSe /// Additional Properties. /// The schema name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). /// The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). - internal AmazonRdsForOracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonRdsForOracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.Serialization.cs index a582abbc..cfcac8d2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.Serialization.cs @@ -111,8 +111,8 @@ internal static AmazonRdsForSqlServerLinkedService DeserializeAmazonRdsForSqlSer Optional password = default; Optional encryptedCredential = default; Optional alwaysEncryptedSettings = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -218,7 +218,7 @@ internal static AmazonRdsForSqlServerLinkedService DeserializeAmazonRdsForSqlSer } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRdsForSqlServerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, userName.Value, password, encryptedCredential.Value, alwaysEncryptedSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.cs index a206ed2d..2da5f11a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerLinkedService.cs @@ -36,7 +36,7 @@ public AmazonRdsForSqlServerLinkedService(DataFactoryElement connectionS /// The on-premises Windows authentication password. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// Sql always encrypted properties. - internal AmazonRdsForSqlServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonRdsForSqlServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; UserName = userName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs index f0d021d5..5b2f67e2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs @@ -131,8 +131,8 @@ internal static AmazonRdsForSqlServerSource DeserializeAmazonRdsForSqlServerSour Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlReaderQuery"u8)) @@ -257,7 +257,7 @@ internal static AmazonRdsForSqlServerSource DeserializeAmazonRdsForSqlServerSour disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRdsForSqlServerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.cs index af54b8d6..093b2617 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerSource.cs @@ -34,7 +34,7 @@ public AmazonRdsForSqlServerSource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal AmazonRdsForSqlServerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AmazonRdsForSqlServerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs index fdc2a411..2c6303f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static AmazonRdsForSqlServerTableDataset DeserializeAmazonRdsForSqlServ Optional folder = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static AmazonRdsForSqlServerTableDataset DeserializeAmazonRdsForSqlServ } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRdsForSqlServerTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.cs index 1b50952b..66e7b988 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRdsForSqlServerTableDataset.cs @@ -35,7 +35,7 @@ public AmazonRdsForSqlServerTableDataset(DataFactoryLinkedServiceReference linke /// Additional Properties. /// The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). /// The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - internal AmazonRdsForSqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonRdsForSqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.Serialization.cs index 55fd015b..17a98c2b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static AmazonRedshiftLinkedService DeserializeAmazonRedshiftLinkedServi DataFactoryElement database = default; Optional> port = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -226,7 +226,7 @@ internal static AmazonRedshiftLinkedService DeserializeAmazonRedshiftLinkedServi } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRedshiftLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server, username.Value, password, database, port.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.cs index d1e575e0..05ed8b6e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftLinkedService.cs @@ -40,7 +40,7 @@ public AmazonRedshiftLinkedService(DataFactoryElement server, DataFactor /// The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). /// The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AmazonRedshiftLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement database, DataFactoryElement port, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonRedshiftLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement database, DataFactoryElement port, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.Serialization.cs index fc779143..a658f1c9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.Serialization.cs @@ -89,8 +89,8 @@ internal static AmazonRedshiftSource DeserializeAmazonRedshiftSource(JsonElement Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static AmazonRedshiftSource DeserializeAmazonRedshiftSource(JsonElement disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRedshiftSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, redshiftUnloadSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.cs index 19e3a75f..041f1d7c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftSource.cs @@ -29,7 +29,7 @@ public AmazonRedshiftSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). /// The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. - internal AmazonRedshiftSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, RedshiftUnloadSettings redshiftUnloadSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AmazonRedshiftSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, RedshiftUnloadSettings redshiftUnloadSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; RedshiftUnloadSettings = redshiftUnloadSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs index fb496dd7..dfd7becb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static AmazonRedshiftTableDataset DeserializeAmazonRedshiftTableDataset Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static AmazonRedshiftTableDataset DeserializeAmazonRedshiftTableDataset } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonRedshiftTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.cs index d6f8b365..f1b94d8f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonRedshiftTableDataset.cs @@ -36,7 +36,7 @@ public AmazonRedshiftTableDataset(DataFactoryLinkedServiceReference linkedServic /// This property will be retired. Please consider using schema + table properties instead. /// The Amazon Redshift table name. Type: string (or Expression with resultType string). /// The Amazon Redshift schema name. Type: string (or Expression with resultType string). - internal AmazonRedshiftTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonRedshiftTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.Serialization.cs index e5687e89..361001dc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static AmazonS3CompatibleLinkedService DeserializeAmazonS3CompatibleLin Optional> serviceUrl = default; Optional> forcePathStyle = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -225,7 +225,7 @@ internal static AmazonS3CompatibleLinkedService DeserializeAmazonS3CompatibleLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3CompatibleLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, accessKeyId.Value, secretAccessKey, serviceUrl.Value, forcePathStyle.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.cs index 463dd320..3bd5400d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLinkedService.cs @@ -30,7 +30,7 @@ public AmazonS3CompatibleLinkedService() /// This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). /// If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AmazonS3CompatibleLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, DataFactoryElement forcePathStyle, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonS3CompatibleLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, DataFactoryElement forcePathStyle, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AccessKeyId = accessKeyId; SecretAccessKey = secretAccessKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.Serialization.cs index 32c304fb..5fee3e68 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.Serialization.cs @@ -61,8 +61,8 @@ internal static AmazonS3CompatibleLocation DeserializeAmazonS3CompatibleLocation string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("bucketName"u8)) @@ -106,7 +106,7 @@ internal static AmazonS3CompatibleLocation DeserializeAmazonS3CompatibleLocation fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3CompatibleLocation(type, folderPath.Value, fileName.Value, additionalProperties, bucketName.Value, version.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.cs index 4268d5c9..29c0362f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleLocation.cs @@ -25,7 +25,7 @@ public AmazonS3CompatibleLocation() /// Additional Properties. /// Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string). /// Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string). - internal AmazonS3CompatibleLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal AmazonS3CompatibleLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) { BucketName = bucketName; Version = version; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.Serialization.cs index af61dbd2..426d22e3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static AmazonS3CompatibleReadSettings DeserializeAmazonS3CompatibleRead string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static AmazonS3CompatibleReadSettings DeserializeAmazonS3CompatibleRead disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3CompatibleReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.cs index 465c0e27..fbe6c0b8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3CompatibleReadSettings.cs @@ -33,7 +33,7 @@ public AmazonS3CompatibleReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AmazonS3CompatibleReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AmazonS3CompatibleReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.Serialization.cs index a578d105..7b64cf07 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.Serialization.cs @@ -143,8 +143,8 @@ internal static AmazonS3Dataset DeserializeAmazonS3Dataset(JsonElement element) Optional> modifiedDatetimeEnd = default; Optional format = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -304,7 +304,7 @@ internal static AmazonS3Dataset DeserializeAmazonS3Dataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3Dataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, bucketName, key.Value, prefix.Value, version.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, format.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.cs index e8a1f84e..78b44f12 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Dataset.cs @@ -48,7 +48,7 @@ public AmazonS3Dataset(DataFactoryLinkedServiceReference linkedServiceName, Data /// The available derived classes include , , , and . /// /// The data compression method used for the Amazon S3 object. - internal AmazonS3Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement key, DataFactoryElement prefix, DataFactoryElement version, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonS3Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement bucketName, DataFactoryElement key, DataFactoryElement prefix, DataFactoryElement version, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { BucketName = bucketName; Key = key; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.Serialization.cs index eb2b602f..a94ed02e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static AmazonS3LinkedService DeserializeAmazonS3LinkedService(JsonEleme Optional> serviceUrl = default; Optional sessionToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static AmazonS3LinkedService DeserializeAmazonS3LinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3LinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, authenticationType.Value, accessKeyId.Value, secretAccessKey, serviceUrl.Value, sessionToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.cs index 13dd3fff..e9d13e58 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3LinkedService.cs @@ -31,7 +31,7 @@ public AmazonS3LinkedService() /// This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). /// The session token for the S3 temporary security credential. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AmazonS3LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement authenticationType, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, DataFactorySecretBaseDefinition sessionToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonS3LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement authenticationType, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, DataFactorySecretBaseDefinition sessionToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AuthenticationType = authenticationType; AccessKeyId = accessKeyId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.Serialization.cs index faf7bcee..df4ae6e3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.Serialization.cs @@ -61,8 +61,8 @@ internal static AmazonS3Location DeserializeAmazonS3Location(JsonElement element string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("bucketName"u8)) @@ -106,7 +106,7 @@ internal static AmazonS3Location DeserializeAmazonS3Location(JsonElement element fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3Location(type, folderPath.Value, fileName.Value, additionalProperties, bucketName.Value, version.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.cs index 4b985d9a..16e822a8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3Location.cs @@ -25,7 +25,7 @@ public AmazonS3Location() /// Additional Properties. /// Specify the bucketName of amazon S3. Type: string (or Expression with resultType string). /// Specify the version of amazon S3. Type: string (or Expression with resultType string). - internal AmazonS3Location(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal AmazonS3Location(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) { BucketName = bucketName; Version = version; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.Serialization.cs index e77a26eb..7b2ca96c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static AmazonS3ReadSettings DeserializeAmazonS3ReadSettings(JsonElement string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static AmazonS3ReadSettings DeserializeAmazonS3ReadSettings(JsonElement disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AmazonS3ReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.cs index b2bee0fd..e633c9f2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AmazonS3ReadSettings.cs @@ -33,7 +33,7 @@ public AmazonS3ReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AmazonS3ReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AmazonS3ReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.Serialization.cs index d9fc397f..62d041f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.Serialization.cs @@ -91,8 +91,8 @@ internal static AppFiguresLinkedService DeserializeAppFiguresLinkedService(JsonE DataFactoryElement userName = default; DataFactorySecretBaseDefinition password = default; DataFactorySecretBaseDefinition clientKey = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -176,7 +176,7 @@ internal static AppFiguresLinkedService DeserializeAppFiguresLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AppFiguresLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, userName, password, clientKey); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.cs index 4c2cc933..ad1de613 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AppFiguresLinkedService.cs @@ -40,7 +40,7 @@ public AppFiguresLinkedService(DataFactoryElement userName, DataFactoryS /// The username of the Appfigures source. Type: string (or Expression with resultType string). /// The password of the AppFigures source. /// The client key for the AppFigures source. - internal AppFiguresLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition clientKey) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AppFiguresLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition clientKey) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { UserName = userName; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.Serialization.cs index 571b0930..4559e93e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.Serialization.cs @@ -95,8 +95,8 @@ internal static AppendVariableActivity DeserializeAppendVariableActivity(JsonEle Optional> userProperties = default; Optional variableName = default; Optional> value = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -186,7 +186,7 @@ internal static AppendVariableActivity DeserializeAppendVariableActivity(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AppendVariableActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, variableName.Value, value.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.cs index 537f884b..b7ae45f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AppendVariableActivity.cs @@ -34,7 +34,7 @@ public AppendVariableActivity(string name) : base(name) /// Additional Properties. /// Name of the variable whose value needs to be appended to. /// Value to be appended. Type: could be a static value matching type of the variable item or Expression with resultType matching type of the variable item. - internal AppendVariableActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, string variableName, DataFactoryElement value) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal AppendVariableActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, string variableName, DataFactoryElement value) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { VariableName = variableName; Value = value; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.Serialization.cs index d7c49313..5780ff00 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.Serialization.cs @@ -92,8 +92,8 @@ internal static AsanaLinkedService DeserializeAsanaLinkedService(JsonElement ele Optional> annotations = default; DataFactorySecretBaseDefinition apiToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -172,7 +172,7 @@ internal static AsanaLinkedService DeserializeAsanaLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AsanaLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, apiToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.cs index a0791cfe..047b7ca2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AsanaLinkedService.cs @@ -33,7 +33,7 @@ public AsanaLinkedService(DataFactorySecretBaseDefinition apiToken) /// Additional Properties. /// The api token for the Asana source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AsanaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AsanaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ApiToken = apiToken; EncryptedCredential = encryptedCredential; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.Serialization.cs index 81702590..fc83891f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.Serialization.cs @@ -116,8 +116,8 @@ internal static AvroDataset DeserializeAvroDataset(JsonElement element) Optional location = default; Optional> avroCompressionCodec = default; Optional avroCompressionLevel = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -236,7 +236,7 @@ internal static AvroDataset DeserializeAvroDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AvroDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, avroCompressionCodec.Value, Optional.ToNullable(avroCompressionLevel)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.cs index b3296071..47863149 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroDataset.cs @@ -40,7 +40,7 @@ public AvroDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(l /// /// The data avroCompressionCodec. Type: string (or Expression with resultType string). /// - internal AvroDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement avroCompressionCodec, int? avroCompressionLevel) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AvroDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement avroCompressionCodec, int? avroCompressionLevel) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; AvroCompressionCodec = avroCompressionCodec; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.Serialization.cs index 6b114595..7947b634 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.Serialization.cs @@ -85,8 +85,8 @@ internal static AvroSink DeserializeAvroSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -166,7 +166,7 @@ internal static AvroSink DeserializeAvroSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AvroSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.cs index 84491c13..a6404449 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSink.cs @@ -33,7 +33,7 @@ public AvroSink() /// The available derived classes include , , , , and . /// /// Avro format settings. - internal AvroSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreWriteSettings storeSettings, AvroWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AvroSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreWriteSettings storeSettings, AvroWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.Serialization.cs index 9b9a86ce..dd2c0ec0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.Serialization.cs @@ -77,8 +77,8 @@ internal static AvroSource DeserializeAvroSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -140,7 +140,7 @@ internal static AvroSource DeserializeAvroSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AvroSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.cs index 2f4206aa..196ef62a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroSource.cs @@ -31,7 +31,7 @@ public AvroSource() /// The available derived classes include , , , , , , , , , , , and . /// /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal AvroSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AvroSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.Serialization.cs index db98561d..43daddd8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.Serialization.cs @@ -61,8 +61,8 @@ internal static AvroWriteSettings DeserializeAvroWriteSettings(JsonElement eleme Optional> maxRowsPerFile = default; Optional> fileNamePrefix = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recordName"u8)) @@ -98,7 +98,7 @@ internal static AvroWriteSettings DeserializeAvroWriteSettings(JsonElement eleme type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AvroWriteSettings(type, additionalProperties, recordName.Value, recordNamespace.Value, maxRowsPerFile.Value, fileNamePrefix.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.cs index d8838e39..749df377 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AvroWriteSettings.cs @@ -25,7 +25,7 @@ public AvroWriteSettings() /// Record namespace in the write result. /// Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). /// Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). - internal AvroWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties, string recordName, string recordNamespace, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) + internal AvroWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties, string recordName, string recordNamespace, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) { RecordName = recordName; RecordNamespace = recordNamespace; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.Serialization.cs index 5a18bc50..a094e1c7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.Serialization.cs @@ -113,8 +113,8 @@ internal static AzureBatchLinkedService DeserializeAzureBatchLinkedService(JsonE DataFactoryLinkedServiceReference linkedServiceName = default; Optional encryptedCredential = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -226,7 +226,7 @@ internal static AzureBatchLinkedService DeserializeAzureBatchLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBatchLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, accountName, accessKey, batchUri, poolName, linkedServiceName, encryptedCredential.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.cs index e381185d..584039fe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBatchLinkedService.cs @@ -47,7 +47,7 @@ public AzureBatchLinkedService(DataFactoryElement accountName, DataFacto /// The Azure Storage linked service reference. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. - internal AzureBatchLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accountName, DataFactorySecretBaseDefinition accessKey, DataFactoryElement batchUri, DataFactoryElement poolName, DataFactoryLinkedServiceReference linkedServiceName, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureBatchLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement accountName, DataFactorySecretBaseDefinition accessKey, DataFactoryElement batchUri, DataFactoryElement poolName, DataFactoryLinkedServiceReference linkedServiceName, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AccountName = accountName; AccessKey = accessKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.Serialization.cs index 86ebd79f..1481a713 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.Serialization.cs @@ -140,8 +140,8 @@ internal static AzureBlobDataset DeserializeAzureBlobDataset(JsonElement element Optional> modifiedDatetimeEnd = default; Optional format = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -296,7 +296,7 @@ internal static AzureBlobDataset DeserializeAzureBlobDataset(JsonElement element } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, folderPath.Value, tableRootLocation.Value, fileName.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, format.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.cs index 94bcb742..8878b6b1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobDataset.cs @@ -44,7 +44,7 @@ public AzureBlobDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// The available derived classes include , , , and . /// /// The data compression method used for the blob storage. - internal AzureBlobDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement tableRootLocation, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureBlobDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement folderPath, DataFactoryElement tableRootLocation, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; TableRootLocation = tableRootLocation; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.Serialization.cs index b097ad1f..1845c637 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.Serialization.cs @@ -122,8 +122,8 @@ internal static AzureBlobFSDataset DeserializeAzureBlobFSDataset(JsonElement ele Optional> fileName = default; Optional format = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -251,7 +251,7 @@ internal static AzureBlobFSDataset DeserializeAzureBlobFSDataset(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, folderPath.Value, fileName.Value, format.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.cs index 9586ba2a..c9527280 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSDataset.cs @@ -41,7 +41,7 @@ public AzureBlobFSDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The available derived classes include , , , and . /// /// The data compression method used for the blob storage. - internal AzureBlobFSDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureBlobFSDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; FileName = fileName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.Serialization.cs index 59b23a81..53db1b06 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.Serialization.cs @@ -156,8 +156,8 @@ internal static AzureBlobFSLinkedService DeserializeAzureBlobFSLinkedService(Jso Optional servicePrincipalCredential = default; Optional> sasUri = default; Optional sasToken = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -330,7 +330,7 @@ internal static AzureBlobFSLinkedService DeserializeAzureBlobFSLinkedService(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url.Value, accountKey.Value, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, encryptedCredential.Value, credential.Value, servicePrincipalCredentialType.Value, servicePrincipalCredential, sasUri.Value, sasToken); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.cs index 3c121ca8..7d21b65c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLinkedService.cs @@ -37,7 +37,7 @@ public AzureBlobFSLinkedService() /// The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. /// SAS URI of the Azure Data Lake Storage Gen2 service. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of sasToken in sas uri. - internal AzureBlobFSLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactoryElement accountKey, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, DataFactoryElement sasUri, DataFactorySecretBaseDefinition sasToken) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureBlobFSLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactoryElement accountKey, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, DataFactoryElement sasUri, DataFactorySecretBaseDefinition sasToken) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; AccountKey = accountKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.Serialization.cs index 2f196092..f03b2c60 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.Serialization.cs @@ -55,8 +55,8 @@ internal static AzureBlobFSLocation DeserializeAzureBlobFSLocation(JsonElement e string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("fileSystem"u8)) @@ -91,7 +91,7 @@ internal static AzureBlobFSLocation DeserializeAzureBlobFSLocation(JsonElement e fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSLocation(type, folderPath.Value, fileName.Value, additionalProperties, fileSystem.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.cs index f7f12dfc..7e3368a9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSLocation.cs @@ -24,7 +24,7 @@ public AzureBlobFSLocation() /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. /// Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). - internal AzureBlobFSLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement fileSystem) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal AzureBlobFSLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement fileSystem) : base(datasetLocationType, folderPath, fileName, additionalProperties) { FileSystem = fileSystem; DatasetLocationType = datasetLocationType ?? "AzureBlobFSLocation"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.Serialization.cs index 6b859fb2..55c1c55a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.Serialization.cs @@ -103,8 +103,8 @@ internal static AzureBlobFSReadSettings DeserializeAzureBlobFSReadSettings(JsonE string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -211,7 +211,7 @@ internal static AzureBlobFSReadSettings DeserializeAzureBlobFSReadSettings(JsonE disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.cs index c6a36ddc..15daafac 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSReadSettings.cs @@ -32,7 +32,7 @@ public AzureBlobFSReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AzureBlobFSReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureBlobFSReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.Serialization.cs index a010686c..06d4c8c2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.Serialization.cs @@ -90,8 +90,8 @@ internal static AzureBlobFSSink DeserializeAzureBlobFSSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("copyBehavior"u8)) @@ -176,7 +176,7 @@ internal static AzureBlobFSSink DeserializeAzureBlobFSSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, copyBehavior.Value, Optional.ToList(metadata)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.cs index 68fb17d1..c275d9f1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSink.cs @@ -31,7 +31,7 @@ public AzureBlobFSSink() /// Additional Properties. /// The type of copy behavior for copy sink. Type: string (or Expression with resultType string). /// Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). - internal AzureBlobFSSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement copyBehavior, IList metadata) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureBlobFSSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement copyBehavior, IList metadata) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { CopyBehavior = copyBehavior; Metadata = metadata; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.Serialization.cs index 1c1d4b1c..4162c9e0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.Serialization.cs @@ -79,8 +79,8 @@ internal static AzureBlobFSSource DeserializeAzureBlobFSSource(JsonElement eleme Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("treatEmptyAsNull"u8)) @@ -151,7 +151,7 @@ internal static AzureBlobFSSource DeserializeAzureBlobFSSource(JsonElement eleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, treatEmptyAsNull.Value, skipHeaderLineCount.Value, recursive.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.cs index 236b5c68..45fc13e3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSSource.cs @@ -28,7 +28,7 @@ public AzureBlobFSSource() /// Treat empty as null. Type: boolean (or Expression with resultType boolean). /// Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - internal AzureBlobFSSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement treatEmptyAsNull, DataFactoryElement skipHeaderLineCount, DataFactoryElement recursive) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureBlobFSSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement treatEmptyAsNull, DataFactoryElement skipHeaderLineCount, DataFactoryElement recursive) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { TreatEmptyAsNull = treatEmptyAsNull; SkipHeaderLineCount = skipHeaderLineCount; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.Serialization.cs index af4e1afd..ca705827 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.Serialization.cs @@ -65,8 +65,8 @@ internal static AzureBlobFSWriteSettings DeserializeAzureBlobFSWriteSettings(Jso Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("blockSizeInMB"u8)) @@ -110,7 +110,7 @@ internal static AzureBlobFSWriteSettings DeserializeAzureBlobFSWriteSettings(Jso copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobFSWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties, blockSizeInMB.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.cs index afd9f9e5..5b59de3b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobFSWriteSettings.cs @@ -25,7 +25,7 @@ public AzureBlobFSWriteSettings() /// The type of copy behavior for copy sink. /// Additional Properties. /// Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). - internal AzureBlobFSWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties, DataFactoryElement blockSizeInMB) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal AzureBlobFSWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties, DataFactoryElement blockSizeInMB) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { BlockSizeInMB = blockSizeInMB; StoreWriteSettingsType = storeWriteSettingsType ?? "AzureBlobFSWriteSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.Serialization.cs index af6a7d5a..6a55887f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.Serialization.cs @@ -168,8 +168,8 @@ internal static AzureBlobStorageLinkedService DeserializeAzureBlobStorageLinkedS Optional credential = default; Optional authenticationType = default; Optional> containerUri = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -360,7 +360,7 @@ internal static AzureBlobStorageLinkedService DeserializeAzureBlobStorageLinkedS } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobStorageLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, accountKey, sasUri.Value, sasToken, serviceEndpoint.Value, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, accountKind.Value, encryptedCredential.Value, credential.Value, Optional.ToNullable(authenticationType), containerUri.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.cs index 534e6e39..78439631 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLinkedService.cs @@ -39,7 +39,7 @@ public AzureBlobStorageLinkedService() /// The credential reference containing authentication information. /// The type used for authentication. Type: string. /// Container uri of the Azure Blob Storage resource only support for anonymous access. Type: string (or Expression with resultType string). - internal AzureBlobStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, DataFactoryElement serviceEndpoint, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, DataFactoryElement accountKind, string encryptedCredential, DataFactoryCredentialReference credential, AzureStorageAuthenticationType? authenticationType, DataFactoryElement containerUri) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureBlobStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, DataFactoryElement serviceEndpoint, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, DataFactoryElement accountKind, string encryptedCredential, DataFactoryCredentialReference credential, AzureStorageAuthenticationType? authenticationType, DataFactoryElement containerUri) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AccountKey = accountKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.Serialization.cs index e2c7dabd..705bd893 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.Serialization.cs @@ -55,8 +55,8 @@ internal static AzureBlobStorageLocation DeserializeAzureBlobStorageLocation(Jso string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("container"u8)) @@ -91,7 +91,7 @@ internal static AzureBlobStorageLocation DeserializeAzureBlobStorageLocation(Jso fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobStorageLocation(type, folderPath.Value, fileName.Value, additionalProperties, container.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.cs index bb1a68f1..bf60a3a1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageLocation.cs @@ -24,7 +24,7 @@ public AzureBlobStorageLocation() /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. /// Specify the container of azure blob. Type: string (or Expression with resultType string). - internal AzureBlobStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement container) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal AzureBlobStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement container) : base(datasetLocationType, folderPath, fileName, additionalProperties) { Container = container; DatasetLocationType = datasetLocationType ?? "AzureBlobStorageLocation"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs index 018f1081..f73eee31 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static AzureBlobStorageReadSettings DeserializeAzureBlobStorageReadSett string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static AzureBlobStorageReadSettings DeserializeAzureBlobStorageReadSett disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobStorageReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.cs index 2e4c934b..a295b1f8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageReadSettings.cs @@ -33,7 +33,7 @@ public AzureBlobStorageReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AzureBlobStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureBlobStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.Serialization.cs index 92094664..e431d3d4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.Serialization.cs @@ -65,8 +65,8 @@ internal static AzureBlobStorageWriteSettings DeserializeAzureBlobStorageWriteSe Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("blockSizeInMB"u8)) @@ -110,7 +110,7 @@ internal static AzureBlobStorageWriteSettings DeserializeAzureBlobStorageWriteSe copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureBlobStorageWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties, blockSizeInMB.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.cs index 4097d273..a7199892 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureBlobStorageWriteSettings.cs @@ -25,7 +25,7 @@ public AzureBlobStorageWriteSettings() /// The type of copy behavior for copy sink. /// Additional Properties. /// Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). - internal AzureBlobStorageWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties, DataFactoryElement blockSizeInMB) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal AzureBlobStorageWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties, DataFactoryElement blockSizeInMB) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { BlockSizeInMB = blockSizeInMB; StoreWriteSettingsType = storeWriteSettingsType ?? "AzureBlobStorageWriteSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.Serialization.cs index 900ae2d7..44b23183 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.Serialization.cs @@ -104,8 +104,8 @@ internal static AzureDataExplorerCommandActivity DeserializeAzureDataExplorerCom Optional> userProperties = default; DataFactoryElement command = default; Optional> commandTimeout = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -213,7 +213,7 @@ internal static AzureDataExplorerCommandActivity DeserializeAzureDataExplorerCom } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataExplorerCommandActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, command, commandTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.cs index ee1082c8..3f7923d7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerCommandActivity.cs @@ -39,7 +39,7 @@ public AzureDataExplorerCommandActivity(string name, DataFactoryElement /// Activity policy. /// A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). /// Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..). - internal AzureDataExplorerCommandActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement command, DataFactoryElement commandTimeout) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureDataExplorerCommandActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement command, DataFactoryElement commandTimeout) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Command = command; CommandTimeout = commandTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.Serialization.cs index 502e3b34..cede0143 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static AzureDataExplorerLinkedService DeserializeAzureDataExplorerLinke DataFactoryElement database = default; Optional> tenant = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -230,7 +230,7 @@ internal static AzureDataExplorerLinkedService DeserializeAzureDataExplorerLinke } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataExplorerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, servicePrincipalId.Value, servicePrincipalKey, database, tenant.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.cs index 9987c34e..51cf52ac 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerLinkedService.cs @@ -40,7 +40,7 @@ public AzureDataExplorerLinkedService(DataFactoryElement endpoint, DataF /// Database name for connection. Type: string (or Expression with resultType string). /// The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal AzureDataExplorerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement endpoint, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement database, DataFactoryElement tenant, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureDataExplorerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement endpoint, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement database, DataFactoryElement tenant, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; ServicePrincipalId = servicePrincipalId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.Serialization.cs index 6020cc4a..0041846e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.Serialization.cs @@ -91,8 +91,8 @@ internal static AzureDataExplorerSink DeserializeAzureDataExplorerSink(JsonEleme Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("ingestionMappingName"u8)) @@ -181,7 +181,7 @@ internal static AzureDataExplorerSink DeserializeAzureDataExplorerSink(JsonEleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataExplorerSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, ingestionMappingName.Value, ingestionMappingAsJson.Value, flushImmediately.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.cs index 81476d0c..a04841b0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSink.cs @@ -30,7 +30,7 @@ public AzureDataExplorerSink() /// A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. /// An explicit column mapping description provided in a json format. Type: string. /// If set to true, any aggregation will be skipped. Default is false. Type: boolean. - internal AzureDataExplorerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement ingestionMappingName, DataFactoryElement ingestionMappingAsJson, DataFactoryElement flushImmediately) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDataExplorerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement ingestionMappingName, DataFactoryElement ingestionMappingAsJson, DataFactoryElement flushImmediately) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { IngestionMappingName = ingestionMappingName; IngestionMappingAsJson = ingestionMappingAsJson; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.Serialization.cs index ce544f27..be56c8ed 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.Serialization.cs @@ -90,8 +90,8 @@ internal static AzureDataExplorerSource DeserializeAzureDataExplorerSource(JsonE Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -167,7 +167,7 @@ internal static AzureDataExplorerSource DeserializeAzureDataExplorerSource(JsonE disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataExplorerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query, noTruncation.Value, queryTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.cs index 6e822965..442633fb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerSource.cs @@ -35,7 +35,7 @@ public AzureDataExplorerSource(DataFactoryElement query) /// The name of the Boolean option that controls whether truncation is applied to result-sets that go beyond a certain row-count limit. /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal AzureDataExplorerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData noTruncation, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDataExplorerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData noTruncation, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; NoTruncation = noTruncation; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs index 3cc52a59..20688094 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static AzureDataExplorerTableDataset DeserializeAzureDataExplorerTableD Optional> annotations = default; Optional folder = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static AzureDataExplorerTableDataset DeserializeAzureDataExplorerTableD } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataExplorerTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.cs index 4f13a839..60ecb898 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataExplorerTableDataset.cs @@ -34,7 +34,7 @@ public AzureDataExplorerTableDataset(DataFactoryLinkedServiceReference linkedSer /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). - internal AzureDataExplorerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureDataExplorerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Table = table; DatasetType = datasetType ?? "AzureDataExplorerTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.Serialization.cs index 7432646d..3fbab904 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.Serialization.cs @@ -126,8 +126,8 @@ internal static AzureDataLakeAnalyticsLinkedService DeserializeAzureDataLakeAnal Optional> resourceGroupName = default; Optional> dataLakeAnalyticsUri = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -256,7 +256,7 @@ internal static AzureDataLakeAnalyticsLinkedService DeserializeAzureDataLakeAnal } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeAnalyticsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, accountName, servicePrincipalId.Value, servicePrincipalKey, tenant, subscriptionId.Value, resourceGroupName.Value, dataLakeAnalyticsUri.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs index ec96097e..222c32c6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs @@ -42,7 +42,7 @@ public AzureDataLakeAnalyticsLinkedService(DataFactoryElement accountNam /// Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). /// Azure Data Lake Analytics URI Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureDataLakeAnalyticsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accountName, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement subscriptionId, DataFactoryElement resourceGroupName, DataFactoryElement dataLakeAnalyticsUri, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureDataLakeAnalyticsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement accountName, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement subscriptionId, DataFactoryElement resourceGroupName, DataFactoryElement dataLakeAnalyticsUri, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AccountName = accountName; ServicePrincipalId = servicePrincipalId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs index 578bace9..0fe2eb17 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs @@ -122,8 +122,8 @@ internal static AzureDataLakeStoreDataset DeserializeAzureDataLakeStoreDataset(J Optional> fileName = default; Optional format = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -251,7 +251,7 @@ internal static AzureDataLakeStoreDataset DeserializeAzureDataLakeStoreDataset(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, folderPath.Value, fileName.Value, format.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.cs index 0020e3de..af9f504e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreDataset.cs @@ -41,7 +41,7 @@ public AzureDataLakeStoreDataset(DataFactoryLinkedServiceReference linkedService /// The available derived classes include , , , and . /// /// The data compression method used for the item(s) in the Azure Data Lake Store. - internal AzureDataLakeStoreDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureDataLakeStoreDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; FileName = fileName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.Serialization.cs index d6e34646..a66b9550 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.Serialization.cs @@ -141,8 +141,8 @@ internal static AzureDataLakeStoreLinkedService DeserializeAzureDataLakeStoreLin Optional> resourceGroupName = default; Optional encryptedCredential = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -293,7 +293,7 @@ internal static AzureDataLakeStoreLinkedService DeserializeAzureDataLakeStoreLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, dataLakeStoreUri, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, accountName.Value, subscriptionId.Value, resourceGroupName.Value, encryptedCredential.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.cs index 92e8af8b..bda5b792 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLinkedService.cs @@ -41,7 +41,7 @@ public AzureDataLakeStoreLinkedService(DataFactoryElement dataLakeStoreU /// Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. - internal AzureDataLakeStoreLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement dataLakeStoreUri, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, DataFactoryElement accountName, DataFactoryElement subscriptionId, DataFactoryElement resourceGroupName, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureDataLakeStoreLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement dataLakeStoreUri, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, DataFactoryElement accountName, DataFactoryElement subscriptionId, DataFactoryElement resourceGroupName, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { DataLakeStoreUri = dataLakeStoreUri; ServicePrincipalId = servicePrincipalId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.Serialization.cs index 6814edd9..a21a8663 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static AzureDataLakeStoreLocation DeserializeAzureDataLakeStoreLocation string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static AzureDataLakeStoreLocation DeserializeAzureDataLakeStoreLocation fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.cs index 38b495e3..cc362da0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreLocation.cs @@ -23,7 +23,7 @@ public AzureDataLakeStoreLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal AzureDataLakeStoreLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal AzureDataLakeStoreLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "AzureDataLakeStoreLocation"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.Serialization.cs index 42c87f83..50b0d1ed 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.Serialization.cs @@ -115,8 +115,8 @@ internal static AzureDataLakeStoreReadSettings DeserializeAzureDataLakeStoreRead string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -241,7 +241,7 @@ internal static AzureDataLakeStoreReadSettings DeserializeAzureDataLakeStoreRead disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, listAfter.Value, listBefore.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.cs index 0a5a2c39..c8a34ce5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreReadSettings.cs @@ -34,7 +34,7 @@ public AzureDataLakeStoreReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AzureDataLakeStoreReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement listAfter, DataFactoryElement listBefore, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDataLakeStoreReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement listAfter, DataFactoryElement listBefore, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.Serialization.cs index d8801959..e2b449f9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.Serialization.cs @@ -89,8 +89,8 @@ internal static AzureDataLakeStoreSink DeserializeAzureDataLakeStoreSink(JsonEle Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("copyBehavior"u8)) @@ -170,7 +170,7 @@ internal static AzureDataLakeStoreSink DeserializeAzureDataLakeStoreSink(JsonEle disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, copyBehavior.Value, enableAdlsSingleFileParallel.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.cs index 9638245d..4a330b75 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSink.cs @@ -29,7 +29,7 @@ public AzureDataLakeStoreSink() /// Additional Properties. /// The type of copy behavior for copy sink. Type: string (or Expression with resultType string). /// Single File Parallel. - internal AzureDataLakeStoreSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement copyBehavior, BinaryData enableAdlsSingleFileParallel) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDataLakeStoreSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement copyBehavior, BinaryData enableAdlsSingleFileParallel) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { CopyBehavior = copyBehavior; EnableAdlsSingleFileParallel = enableAdlsSingleFileParallel; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.Serialization.cs index 1e65e129..05d74f98 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.Serialization.cs @@ -67,8 +67,8 @@ internal static AzureDataLakeStoreSource DeserializeAzureDataLakeStoreSource(Jso Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -121,7 +121,7 @@ internal static AzureDataLakeStoreSource DeserializeAzureDataLakeStoreSource(Jso disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.cs index 820bf81f..b73fd92e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreSource.cs @@ -26,7 +26,7 @@ public AzureDataLakeStoreSource() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - internal AzureDataLakeStoreSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDataLakeStoreSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; CopySourceType = copySourceType ?? "AzureDataLakeStoreSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.Serialization.cs index ec6b2333..e85173c3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.Serialization.cs @@ -65,8 +65,8 @@ internal static AzureDataLakeStoreWriteSettings DeserializeAzureDataLakeStoreWri Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("expiryDateTime"u8)) @@ -110,7 +110,7 @@ internal static AzureDataLakeStoreWriteSettings DeserializeAzureDataLakeStoreWri copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDataLakeStoreWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties, expiryDateTime.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.cs index bceffbd3..91de5e7f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDataLakeStoreWriteSettings.cs @@ -25,7 +25,7 @@ public AzureDataLakeStoreWriteSettings() /// The type of copy behavior for copy sink. /// Additional Properties. /// Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string). - internal AzureDataLakeStoreWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties, DataFactoryElement expiryDateTime) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal AzureDataLakeStoreWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties, DataFactoryElement expiryDateTime) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { ExpiryDateTime = expiryDateTime; StoreWriteSettingsType = storeWriteSettingsType ?? "AzureDataLakeStoreWriteSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs index 4e3e5a82..9d0583c8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static AzureDatabricksDeltaLakeDataset DeserializeAzureDatabricksDeltaL Optional folder = default; Optional> table = default; Optional> database = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static AzureDatabricksDeltaLakeDataset DeserializeAzureDatabricksDeltaL } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksDeltaLakeDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, table.Value, database.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.cs index c8cae949..00e81af6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeDataset.cs @@ -35,7 +35,7 @@ public AzureDatabricksDeltaLakeDataset(DataFactoryLinkedServiceReference linkedS /// Additional Properties. /// The name of delta table. Type: string (or Expression with resultType string). /// The database name of delta table. Type: string (or Expression with resultType string). - internal AzureDatabricksDeltaLakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table, DataFactoryElement database) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureDatabricksDeltaLakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement table, DataFactoryElement database) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Table = table; Database = database; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.Serialization.cs index bef03bb7..cd91d21f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.Serialization.cs @@ -49,8 +49,8 @@ internal static AzureDatabricksDeltaLakeExportCommand DeserializeAzureDatabricks Optional> dateFormat = default; Optional> timestampFormat = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("dateFormat"u8)) @@ -76,7 +76,7 @@ internal static AzureDatabricksDeltaLakeExportCommand DeserializeAzureDatabricks type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksDeltaLakeExportCommand(type, additionalProperties, dateFormat.Value, timestampFormat.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.cs index e5d30f40..e8ad948a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeExportCommand.cs @@ -23,7 +23,7 @@ public AzureDatabricksDeltaLakeExportCommand() /// Additional Properties. /// Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). /// Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). - internal AzureDatabricksDeltaLakeExportCommand(string exportSettingsType, IDictionary additionalProperties, DataFactoryElement dateFormat, DataFactoryElement timestampFormat) : base(exportSettingsType, additionalProperties) + internal AzureDatabricksDeltaLakeExportCommand(string exportSettingsType, IDictionary> additionalProperties, DataFactoryElement dateFormat, DataFactoryElement timestampFormat) : base(exportSettingsType, additionalProperties) { DateFormat = dateFormat; TimestampFormat = timestampFormat; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.Serialization.cs index 20fb96b4..913549d7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.Serialization.cs @@ -49,8 +49,8 @@ internal static AzureDatabricksDeltaLakeImportCommand DeserializeAzureDatabricks Optional> dateFormat = default; Optional> timestampFormat = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("dateFormat"u8)) @@ -76,7 +76,7 @@ internal static AzureDatabricksDeltaLakeImportCommand DeserializeAzureDatabricks type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksDeltaLakeImportCommand(type, additionalProperties, dateFormat.Value, timestampFormat.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.cs index 0500bd7f..71dcbff9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeImportCommand.cs @@ -23,7 +23,7 @@ public AzureDatabricksDeltaLakeImportCommand() /// Additional Properties. /// Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). /// Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). - internal AzureDatabricksDeltaLakeImportCommand(string importSettingsType, IDictionary additionalProperties, DataFactoryElement dateFormat, DataFactoryElement timestampFormat) : base(importSettingsType, additionalProperties) + internal AzureDatabricksDeltaLakeImportCommand(string importSettingsType, IDictionary> additionalProperties, DataFactoryElement dateFormat, DataFactoryElement timestampFormat) : base(importSettingsType, additionalProperties) { DateFormat = dateFormat; TimestampFormat = timestampFormat; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.Serialization.cs index af537551..1411b489 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static AzureDatabricksDeltaLakeLinkedService DeserializeAzureDatabricks Optional encryptedCredential = default; Optional credential = default; Optional> workspaceResourceId = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static AzureDatabricksDeltaLakeLinkedService DeserializeAzureDatabricks } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksDeltaLakeLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, domain, accessToken, clusterId.Value, encryptedCredential.Value, credential.Value, workspaceResourceId.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.cs index 5529995e..6818467c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeLinkedService.cs @@ -37,7 +37,7 @@ public AzureDatabricksDeltaLakeLinkedService(DataFactoryElement domain) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. /// Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). - internal AzureDatabricksDeltaLakeLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement domain, DataFactorySecretBaseDefinition accessToken, DataFactoryElement clusterId, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement workspaceResourceId) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureDatabricksDeltaLakeLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement domain, DataFactorySecretBaseDefinition accessToken, DataFactoryElement clusterId, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement workspaceResourceId) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Domain = domain; AccessToken = accessToken; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.Serialization.cs index b09d7d32..b5ca5ab9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.Serialization.cs @@ -85,8 +85,8 @@ internal static AzureDatabricksDeltaLakeSink DeserializeAzureDatabricksDeltaLake Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -166,7 +166,7 @@ internal static AzureDatabricksDeltaLakeSink DeserializeAzureDatabricksDeltaLake disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksDeltaLakeSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value, importSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.cs index 2a1923b9..5d3b719a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSink.cs @@ -29,7 +29,7 @@ public AzureDatabricksDeltaLakeSink() /// Additional Properties. /// SQL pre-copy script. Type: string (or Expression with resultType string). /// Azure Databricks Delta Lake import settings. - internal AzureDatabricksDeltaLakeSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript, AzureDatabricksDeltaLakeImportCommand importSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDatabricksDeltaLakeSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript, AzureDatabricksDeltaLakeImportCommand importSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; ImportSettings = importSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.Serialization.cs index a54d1e00..c2e3a1bf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.Serialization.cs @@ -73,8 +73,8 @@ internal static AzureDatabricksDeltaLakeSource DeserializeAzureDatabricksDeltaLa Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -136,7 +136,7 @@ internal static AzureDatabricksDeltaLakeSource DeserializeAzureDatabricksDeltaLa disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksDeltaLakeSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, exportSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.cs index dceb3c8c..532dbd77 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksDeltaLakeSource.cs @@ -27,7 +27,7 @@ public AzureDatabricksDeltaLakeSource() /// Additional Properties. /// Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). /// Azure Databricks Delta Lake export settings. - internal AzureDatabricksDeltaLakeSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, AzureDatabricksDeltaLakeExportCommand exportSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureDatabricksDeltaLakeSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, AzureDatabricksDeltaLakeExportCommand exportSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; ExportSettings = exportSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.Serialization.cs index 81511ad2..1c930db2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.Serialization.cs @@ -230,9 +230,9 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer Optional> newClusterVersion = default; Optional> newClusterNumOfWorker = default; Optional> newClusterNodeType = default; - Optional> newClusterSparkConf = default; - Optional> newClusterSparkEnvVars = default; - Optional> newClusterCustomTags = default; + Optional>> newClusterSparkConf = default; + Optional>> newClusterSparkEnvVars = default; + Optional>> newClusterCustomTags = default; Optional> newClusterLogDestination = default; Optional> newClusterDriverNodeType = default; Optional>> newClusterInitScripts = default; @@ -240,8 +240,8 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer Optional encryptedCredential = default; Optional> policyId = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -390,7 +390,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -399,7 +399,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } newClusterSparkConf = dictionary; @@ -411,7 +411,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -420,7 +420,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } newClusterSparkEnvVars = dictionary; @@ -432,7 +432,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -441,7 +441,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } newClusterCustomTags = dictionary; @@ -509,7 +509,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureDatabricksLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, domain, accessToken, authentication.Value, workspaceResourceId.Value, existingClusterId.Value, instancePoolId.Value, newClusterVersion.Value, newClusterNumOfWorker.Value, newClusterNodeType.Value, Optional.ToDictionary(newClusterSparkConf), Optional.ToDictionary(newClusterSparkEnvVars), Optional.ToDictionary(newClusterCustomTags), newClusterLogDestination.Value, newClusterDriverNodeType.Value, newClusterInitScripts.Value, newClusterEnableElasticDisk.Value, encryptedCredential.Value, policyId.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.cs index ae98b592..8c608fca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureDatabricksLinkedService.cs @@ -21,9 +21,9 @@ public AzureDatabricksLinkedService(DataFactoryElement domain) Argument.AssertNotNull(domain, nameof(domain)); Domain = domain; - NewClusterSparkConf = new ChangeTrackingDictionary(); - NewClusterSparkEnvVars = new ChangeTrackingDictionary(); - NewClusterCustomTags = new ChangeTrackingDictionary(); + NewClusterSparkConf = new ChangeTrackingDictionary>(); + NewClusterSparkEnvVars = new ChangeTrackingDictionary>(); + NewClusterCustomTags = new ChangeTrackingDictionary>(); LinkedServiceType = "AzureDatabricks"; } @@ -53,7 +53,7 @@ public AzureDatabricksLinkedService(DataFactoryElement domain) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal AzureDatabricksLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement domain, DataFactorySecretBaseDefinition accessToken, DataFactoryElement authentication, DataFactoryElement workspaceResourceId, DataFactoryElement existingClusterId, DataFactoryElement instancePoolId, DataFactoryElement newClusterVersion, DataFactoryElement newClusterNumOfWorker, DataFactoryElement newClusterNodeType, IDictionary newClusterSparkConf, IDictionary newClusterSparkEnvVars, IDictionary newClusterCustomTags, DataFactoryElement newClusterLogDestination, DataFactoryElement newClusterDriverNodeType, DataFactoryElement> newClusterInitScripts, DataFactoryElement newClusterEnableElasticDisk, string encryptedCredential, DataFactoryElement policyId, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureDatabricksLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement domain, DataFactorySecretBaseDefinition accessToken, DataFactoryElement authentication, DataFactoryElement workspaceResourceId, DataFactoryElement existingClusterId, DataFactoryElement instancePoolId, DataFactoryElement newClusterVersion, DataFactoryElement newClusterNumOfWorker, DataFactoryElement newClusterNodeType, IDictionary> newClusterSparkConf, IDictionary> newClusterSparkEnvVars, IDictionary> newClusterCustomTags, DataFactoryElement newClusterLogDestination, DataFactoryElement newClusterDriverNodeType, DataFactoryElement> newClusterInitScripts, DataFactoryElement newClusterEnableElasticDisk, string encryptedCredential, DataFactoryElement policyId, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Domain = domain; AccessToken = accessToken; @@ -125,7 +125,7 @@ internal AzureDatabricksLinkedService(string linkedServiceType, IntegrationRunti /// /// /// - public IDictionary NewClusterSparkConf { get; } + public IDictionary> NewClusterSparkConf { get; } /// /// A set of optional, user-specified Spark environment variables key-value pairs. /// @@ -156,7 +156,7 @@ internal AzureDatabricksLinkedService(string linkedServiceType, IntegrationRunti /// /// /// - public IDictionary NewClusterSparkEnvVars { get; } + public IDictionary> NewClusterSparkEnvVars { get; } /// /// Additional tags for cluster resources. This property is ignored in instance pool configurations. /// @@ -187,7 +187,7 @@ internal AzureDatabricksLinkedService(string linkedServiceType, IntegrationRunti /// /// /// - public IDictionary NewClusterCustomTags { get; } + public IDictionary> NewClusterCustomTags { get; } /// Specify a location to deliver Spark driver, worker, and event logs. Type: string (or Expression with resultType string). public DataFactoryElement NewClusterLogDestination { get; set; } /// The driver node type for the new job cluster. This property is ignored in instance pool configurations. Type: string (or Expression with resultType string). diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.Serialization.cs index ba128c7f..eb3e6932 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.Serialization.cs @@ -144,8 +144,8 @@ internal static AzureFileStorageLinkedService DeserializeAzureFileStorageLinkedS Optional> fileShare = default; Optional> snapshot = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -300,7 +300,7 @@ internal static AzureFileStorageLinkedService DeserializeAzureFileStorageLinkedS } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureFileStorageLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host.Value, userId.Value, password, connectionString.Value, accountKey, sasUri.Value, sasToken, fileShare.Value, snapshot.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.cs index 06d6dd5b..a0a17718 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLinkedService.cs @@ -35,7 +35,7 @@ public AzureFileStorageLinkedService() /// The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). /// The azure file share snapshot version. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureFileStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement userId, DataFactorySecretBaseDefinition password, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, DataFactoryElement fileShare, DataFactoryElement snapshot, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureFileStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement userId, DataFactorySecretBaseDefinition password, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, DataFactoryElement fileShare, DataFactoryElement snapshot, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; UserId = userId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.Serialization.cs index 462b782c..ec57785f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static AzureFileStorageLocation DeserializeAzureFileStorageLocation(Jso string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static AzureFileStorageLocation DeserializeAzureFileStorageLocation(Jso fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureFileStorageLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.cs index 37599eb6..d214ef2b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageLocation.cs @@ -23,7 +23,7 @@ public AzureFileStorageLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal AzureFileStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal AzureFileStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "AzureFileStorageLocation"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.Serialization.cs index 6c4b1714..4985d926 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static AzureFileStorageReadSettings DeserializeAzureFileStorageReadSett string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static AzureFileStorageReadSettings DeserializeAzureFileStorageReadSett disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureFileStorageReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.cs index 5d293a40..11bbe2e9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageReadSettings.cs @@ -33,7 +33,7 @@ public AzureFileStorageReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AzureFileStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureFileStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.Serialization.cs index 91fdd4f7..51321471 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.Serialization.cs @@ -59,8 +59,8 @@ internal static AzureFileStorageWriteSettings DeserializeAzureFileStorageWriteSe Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -95,7 +95,7 @@ internal static AzureFileStorageWriteSettings DeserializeAzureFileStorageWriteSe copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureFileStorageWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.cs index 05ac1566..e2d86680 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFileStorageWriteSettings.cs @@ -24,7 +24,7 @@ public AzureFileStorageWriteSettings() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// The type of copy behavior for copy sink. /// Additional Properties. - internal AzureFileStorageWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal AzureFileStorageWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { StoreWriteSettingsType = storeWriteSettingsType ?? "AzureFileStorageWriteSettings"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.Serialization.cs index 7066e3f6..20fc07ea 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.Serialization.cs @@ -113,8 +113,8 @@ internal static AzureFunctionActivity DeserializeAzureFunctionActivity(JsonEleme DataFactoryElement functionName = default; Optional> headers = default; Optional> body = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -236,7 +236,7 @@ internal static AzureFunctionActivity DeserializeAzureFunctionActivity(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureFunctionActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, method, functionName, headers.Value, body.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.cs index a0f4be6a..cb1ce188 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionActivity.cs @@ -43,7 +43,7 @@ public AzureFunctionActivity(string name, AzureFunctionActivityMethod method, Da /// Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string). /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). - internal AzureFunctionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, AzureFunctionActivityMethod method, DataFactoryElement functionName, DataFactoryElement headers, DataFactoryElement body) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureFunctionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, AzureFunctionActivityMethod method, DataFactoryElement functionName, DataFactoryElement headers, DataFactoryElement body) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Method = method; FunctionName = functionName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.Serialization.cs index 4e66d2b2..91679315 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.Serialization.cs @@ -125,8 +125,8 @@ internal static AzureFunctionLinkedService DeserializeAzureFunctionLinkedService Optional credential = default; Optional resourceId = default; Optional> authentication = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -241,7 +241,7 @@ internal static AzureFunctionLinkedService DeserializeAzureFunctionLinkedService } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureFunctionLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, functionAppUrl, functionKey, encryptedCredential.Value, credential.Value, resourceId.Value, authentication.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.cs index 9dce4ea7..c7a0cede 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureFunctionLinkedService.cs @@ -37,7 +37,7 @@ public AzureFunctionLinkedService(BinaryData functionAppUri) /// The credential reference containing authentication information. /// Allowed token audiences for azure function. /// Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string). - internal AzureFunctionLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData functionAppUri, DataFactorySecretBaseDefinition functionKey, string encryptedCredential, DataFactoryCredentialReference credential, BinaryData resourceId, DataFactoryElement authentication) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureFunctionLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData functionAppUri, DataFactorySecretBaseDefinition functionKey, string encryptedCredential, DataFactoryCredentialReference credential, BinaryData resourceId, DataFactoryElement authentication) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { FunctionAppUri = functionAppUri; FunctionKey = functionKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.Serialization.cs index 587d954e..82c5efd2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.Serialization.cs @@ -93,8 +93,8 @@ internal static AzureKeyVaultLinkedService DeserializeAzureKeyVaultLinkedService Optional> annotations = default; DataFactoryElement baseUrl = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -177,7 +177,7 @@ internal static AzureKeyVaultLinkedService DeserializeAzureKeyVaultLinkedService } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureKeyVaultLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, baseUrl, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.cs index 95063829..31c39f48 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureKeyVaultLinkedService.cs @@ -33,7 +33,7 @@ public AzureKeyVaultLinkedService(DataFactoryElement baseUri) /// Additional Properties. /// The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal AzureKeyVaultLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement baseUri, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureKeyVaultLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement baseUri, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { BaseUri = baseUri; Credential = credential; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.Serialization.cs index c8ca4884..7fa3e5a4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.Serialization.cs @@ -137,11 +137,11 @@ internal static AzureMLBatchExecutionActivity DeserializeAzureMLBatchExecutionAc Optional onInactiveMarkAs = default; Optional> dependsOn = default; Optional> userProperties = default; - Optional> globalParameters = default; + Optional>> globalParameters = default; Optional> webServiceOutputs = default; Optional> webServiceInputs = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -238,7 +238,7 @@ internal static AzureMLBatchExecutionActivity DeserializeAzureMLBatchExecutionAc { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -247,7 +247,7 @@ internal static AzureMLBatchExecutionActivity DeserializeAzureMLBatchExecutionAc } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } globalParameters = dictionary; @@ -284,7 +284,7 @@ internal static AzureMLBatchExecutionActivity DeserializeAzureMLBatchExecutionAc } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMLBatchExecutionActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, Optional.ToDictionary(globalParameters), Optional.ToDictionary(webServiceOutputs), Optional.ToDictionary(webServiceInputs)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.cs index 4a5c6a09..0b9c402a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLBatchExecutionActivity.cs @@ -20,7 +20,7 @@ public AzureMLBatchExecutionActivity(string name) : base(name) { Argument.AssertNotNull(name, nameof(name)); - GlobalParameters = new ChangeTrackingDictionary(); + GlobalParameters = new ChangeTrackingDictionary>(); WebServiceOutputs = new ChangeTrackingDictionary(); WebServiceInputs = new ChangeTrackingDictionary(); ActivityType = "AzureMLBatchExecution"; @@ -40,7 +40,7 @@ public AzureMLBatchExecutionActivity(string name) : base(name) /// Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. /// Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. /// Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. - internal AzureMLBatchExecutionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IDictionary globalParameters, IDictionary webServiceOutputs, IDictionary webServiceInputs) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureMLBatchExecutionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IDictionary> globalParameters, IDictionary webServiceOutputs, IDictionary webServiceInputs) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { GlobalParameters = globalParameters; WebServiceOutputs = webServiceOutputs; @@ -78,7 +78,7 @@ internal AzureMLBatchExecutionActivity(string name, string activityType, string /// /// /// - public IDictionary GlobalParameters { get; } + public IDictionary> GlobalParameters { get; } /// Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. public IDictionary WebServiceOutputs { get; } /// Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs index c4ca16f7..ac75dbab 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs @@ -143,8 +143,8 @@ internal static AzureMLExecutePipelineActivity DeserializeAzureMLExecutePipeline Optional>> dataPathAssignments = default; Optional> mlParentRunId = default; Optional> continueOnStepFailure = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -310,7 +310,7 @@ internal static AzureMLExecutePipelineActivity DeserializeAzureMLExecutePipeline } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMLExecutePipelineActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, mlPipelineId.Value, mlPipelineEndpointId.Value, version.Value, experimentName.Value, mlPipelineParameters.Value, dataPathAssignments.Value, mlParentRunId.Value, continueOnStepFailure.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.cs index 81caa670..2eecf989 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLExecutePipelineActivity.cs @@ -42,7 +42,7 @@ public AzureMLExecutePipelineActivity(string name) : base(name) /// Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). /// The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). /// Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). - internal AzureMLExecutePipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement mlPipelineId, DataFactoryElement mlPipelineEndpointId, DataFactoryElement version, DataFactoryElement experimentName, DataFactoryElement> mlPipelineParameters, DataFactoryElement> dataPathAssignments, DataFactoryElement mlParentRunId, DataFactoryElement continueOnStepFailure) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureMLExecutePipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement mlPipelineId, DataFactoryElement mlPipelineEndpointId, DataFactoryElement version, DataFactoryElement experimentName, DataFactoryElement> mlPipelineParameters, DataFactoryElement> dataPathAssignments, DataFactoryElement mlParentRunId, DataFactoryElement continueOnStepFailure) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { MLPipelineId = mlPipelineId; MLPipelineEndpointId = mlPipelineEndpointId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.Serialization.cs index 39ac7beb..210db938 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.Serialization.cs @@ -125,8 +125,8 @@ internal static AzureMLLinkedService DeserializeAzureMLLinkedService(JsonElement Optional> tenant = default; Optional encryptedCredential = default; Optional> authentication = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -255,7 +255,7 @@ internal static AzureMLLinkedService DeserializeAzureMLLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMLLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, mlEndpoint, apiKey, updateResourceEndpoint.Value, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, encryptedCredential.Value, authentication.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.cs index 46c53803..63d87338 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLLinkedService.cs @@ -42,7 +42,7 @@ public AzureMLLinkedService(DataFactoryElement mlEndpoint, DataFactorySe /// The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). - internal AzureMLLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement mlEndpoint, DataFactorySecretBaseDefinition apiKey, DataFactoryElement updateResourceEndpoint, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, string encryptedCredential, DataFactoryElement authentication) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureMLLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement mlEndpoint, DataFactorySecretBaseDefinition apiKey, DataFactoryElement updateResourceEndpoint, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, string encryptedCredential, DataFactoryElement authentication) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { MLEndpoint = mlEndpoint; ApiKey = apiKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.Serialization.cs index af956070..ac230790 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.Serialization.cs @@ -123,8 +123,8 @@ internal static AzureMLServiceLinkedService DeserializeAzureMLServiceLinkedServi Optional servicePrincipalKey = default; Optional> tenant = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -249,7 +249,7 @@ internal static AzureMLServiceLinkedService DeserializeAzureMLServiceLinkedServi } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMLServiceLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, subscriptionId, resourceGroupName, mlWorkspaceName, authentication.Value, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.cs index e6da271e..5f04c178 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLServiceLinkedService.cs @@ -45,7 +45,7 @@ public AzureMLServiceLinkedService(DataFactoryElement subscriptionId, Da /// The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. /// The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureMLServiceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement subscriptionId, DataFactoryElement resourceGroupName, DataFactoryElement mlWorkspaceName, DataFactoryElement authentication, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureMLServiceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement subscriptionId, DataFactoryElement resourceGroupName, DataFactoryElement mlWorkspaceName, DataFactoryElement authentication, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { SubscriptionId = subscriptionId; ResourceGroupName = resourceGroupName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.Serialization.cs index 360bf73f..498e4608 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.Serialization.cs @@ -103,8 +103,8 @@ internal static AzureMLUpdateResourceActivity DeserializeAzureMLUpdateResourceAc DataFactoryElement trainedModelName = default; DataFactoryLinkedServiceReference trainedModelLinkedServiceName = default; DataFactoryElement trainedModelFilePath = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -213,7 +213,7 @@ internal static AzureMLUpdateResourceActivity DeserializeAzureMLUpdateResourceAc } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMLUpdateResourceActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, trainedModelName, trainedModelLinkedServiceName, trainedModelFilePath); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.cs index dcfac939..ef774283 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMLUpdateResourceActivity.cs @@ -46,7 +46,7 @@ public AzureMLUpdateResourceActivity(string name, DataFactoryElement tra /// Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). /// Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. /// The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). - internal AzureMLUpdateResourceActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement trainedModelName, DataFactoryLinkedServiceReference trainedModelLinkedServiceName, DataFactoryElement trainedModelFilePath) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureMLUpdateResourceActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement trainedModelName, DataFactoryLinkedServiceReference trainedModelLinkedServiceName, DataFactoryElement trainedModelFilePath) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { TrainedModelName = trainedModelName; TrainedModelLinkedServiceName = trainedModelLinkedServiceName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.Serialization.cs index d45c2c70..40999238 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static AzureMariaDBLinkedService DeserializeAzureMariaDBLinkedService(J Optional> connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static AzureMariaDBLinkedService DeserializeAzureMariaDBLinkedService(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMariaDBLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.cs index ab576701..825c9a01 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBLinkedService.cs @@ -28,7 +28,7 @@ public AzureMariaDBLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureMariaDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureMariaDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.Serialization.cs index e942120e..4ca74c1d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.Serialization.cs @@ -83,8 +83,8 @@ internal static AzureMariaDBSource DeserializeAzureMariaDBSource(JsonElement ele Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static AzureMariaDBSource DeserializeAzureMariaDBSource(JsonElement ele disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMariaDBSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.cs index a7e23ad5..6fce4ab4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBSource.cs @@ -28,7 +28,7 @@ public AzureMariaDBSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal AzureMariaDBSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AzureMariaDBSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "AzureMariaDBSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.Serialization.cs index eefcad99..6c3d01ee 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static AzureMariaDBTableDataset DeserializeAzureMariaDBTableDataset(Jso Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static AzureMariaDBTableDataset DeserializeAzureMariaDBTableDataset(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMariaDBTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.cs index 5f01e18b..5ad83fef 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMariaDBTableDataset.cs @@ -34,7 +34,7 @@ public AzureMariaDBTableDataset(DataFactoryLinkedServiceReference linkedServiceN /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal AzureMariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureMariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "AzureMariaDBTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.Serialization.cs index 7785823e..e236c87c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static AzureMySqlLinkedService DeserializeAzureMySqlLinkedService(JsonE DataFactoryElement connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -188,7 +188,7 @@ internal static AzureMySqlLinkedService DeserializeAzureMySqlLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMySqlLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.cs index 5c82c44a..759dd88b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlLinkedService.cs @@ -34,7 +34,7 @@ public AzureMySqlLinkedService(DataFactoryElement connectionString) /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureMySqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureMySqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.Serialization.cs index 48e04d41..a1f02bd6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.Serialization.cs @@ -79,8 +79,8 @@ internal static AzureMySqlSink DeserializeAzureMySqlSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -151,7 +151,7 @@ internal static AzureMySqlSink DeserializeAzureMySqlSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMySqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.cs index cbc4cb52..0520ab90 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSink.cs @@ -28,7 +28,7 @@ public AzureMySqlSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// A query to execute before starting the copy. Type: string (or Expression with resultType string). - internal AzureMySqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureMySqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; CopySinkType = copySinkType ?? "AzureMySqlSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.Serialization.cs index eadd8729..c571358a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.Serialization.cs @@ -83,8 +83,8 @@ internal static AzureMySqlSource DeserializeAzureMySqlSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static AzureMySqlSource DeserializeAzureMySqlSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMySqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.cs index 859fe1cd..8c6c9af6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlSource.cs @@ -28,7 +28,7 @@ public AzureMySqlSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal AzureMySqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AzureMySqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "AzureMySqlSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.Serialization.cs index 562ffdb8..b6d73804 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static AzureMySqlTableDataset DeserializeAzureMySqlTableDataset(JsonEle Optional folder = default; Optional> tableName = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static AzureMySqlTableDataset DeserializeAzureMySqlTableDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureMySqlTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.cs index fd2e6e05..d05ca4bd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureMySqlTableDataset.cs @@ -35,7 +35,7 @@ public AzureMySqlTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// Additional Properties. /// The Azure MySQL database table name. Type: string (or Expression with resultType string). /// The name of Azure MySQL database table. Type: string (or Expression with resultType string). - internal AzureMySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureMySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.Serialization.cs index f94b63da..627ede74 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static AzurePostgreSqlLinkedService DeserializeAzurePostgreSqlLinkedSer Optional> connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static AzurePostgreSqlLinkedService DeserializeAzurePostgreSqlLinkedSer } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzurePostgreSqlLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.cs index b1d13b61..d4bd23ca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlLinkedService.cs @@ -28,7 +28,7 @@ public AzurePostgreSqlLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzurePostgreSqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzurePostgreSqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.Serialization.cs index 34763588..4528175e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.Serialization.cs @@ -79,8 +79,8 @@ internal static AzurePostgreSqlSink DeserializeAzurePostgreSqlSink(JsonElement e Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -151,7 +151,7 @@ internal static AzurePostgreSqlSink DeserializeAzurePostgreSqlSink(JsonElement e disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzurePostgreSqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.cs index 07a3433f..f151157f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSink.cs @@ -28,7 +28,7 @@ public AzurePostgreSqlSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// A query to execute before starting the copy. Type: string (or Expression with resultType string). - internal AzurePostgreSqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzurePostgreSqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; CopySinkType = copySinkType ?? "AzurePostgreSqlSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.Serialization.cs index 2df5cb70..3cd9beef 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.Serialization.cs @@ -83,8 +83,8 @@ internal static AzurePostgreSqlSource DeserializeAzurePostgreSqlSource(JsonEleme Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static AzurePostgreSqlSource DeserializeAzurePostgreSqlSource(JsonEleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzurePostgreSqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.cs index 981fa7e3..f4e028dc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlSource.cs @@ -28,7 +28,7 @@ public AzurePostgreSqlSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal AzurePostgreSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AzurePostgreSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "AzurePostgreSqlSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs index a7fec3e3..d0d8c27f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs @@ -116,8 +116,8 @@ internal static AzurePostgreSqlTableDataset DeserializeAzurePostgreSqlTableDatas Optional> tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -236,7 +236,7 @@ internal static AzurePostgreSqlTableDataset DeserializeAzurePostgreSqlTableDatas } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzurePostgreSqlTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.cs index 52a2cece..0a485dde 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzurePostgreSqlTableDataset.cs @@ -36,7 +36,7 @@ public AzurePostgreSqlTableDataset(DataFactoryLinkedServiceReference linkedServi /// The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). /// The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). /// The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). - internal AzurePostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzurePostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.Serialization.cs index 1f013eb0..d1b8328e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.Serialization.cs @@ -73,8 +73,8 @@ internal static AzureQueueSink DeserializeAzureQueueSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -136,7 +136,7 @@ internal static AzureQueueSink DeserializeAzureQueueSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureQueueSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.cs index b05b0965..5e560c7b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureQueueSink.cs @@ -27,7 +27,7 @@ public AzureQueueSink() /// The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal AzureQueueSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureQueueSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { CopySinkType = copySinkType ?? "AzureQueueSink"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.Serialization.cs index d6f8aabf..32ea8bd0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static AzureSearchIndexDataset DeserializeAzureSearchIndexDataset(JsonE Optional> annotations = default; Optional folder = default; DataFactoryElement indexName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static AzureSearchIndexDataset DeserializeAzureSearchIndexDataset(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSearchIndexDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, indexName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.cs index f33cc17d..2c1969d0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexDataset.cs @@ -37,7 +37,7 @@ public AzureSearchIndexDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of the Azure Search Index. Type: string (or Expression with resultType string). - internal AzureSearchIndexDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement indexName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSearchIndexDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement indexName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { IndexName = indexName; DatasetType = datasetType ?? "AzureSearchIndex"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.Serialization.cs index e32267e4..ba510559 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.Serialization.cs @@ -79,8 +79,8 @@ internal static AzureSearchIndexSink DeserializeAzureSearchIndexSink(JsonElement Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -151,7 +151,7 @@ internal static AzureSearchIndexSink DeserializeAzureSearchIndexSink(JsonElement disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSearchIndexSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, Optional.ToNullable(writeBehavior)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.cs index 85153492..e04d1302 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchIndexSink.cs @@ -28,7 +28,7 @@ public AzureSearchIndexSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Specify the write behavior when upserting documents into Azure Search Index. - internal AzureSearchIndexSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, AzureSearchIndexWriteBehaviorType? writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureSearchIndexSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, AzureSearchIndexWriteBehaviorType? writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; CopySinkType = copySinkType ?? "AzureSearchIndexSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.Serialization.cs index be407ac9..7c7f411e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static AzureSearchLinkedService DeserializeAzureSearchLinkedService(Jso DataFactoryElement url = default; Optional key = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -188,7 +188,7 @@ internal static AzureSearchLinkedService DeserializeAzureSearchLinkedService(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSearchLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, key, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.cs index 87729fe5..fee0ede9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSearchLinkedService.cs @@ -34,7 +34,7 @@ public AzureSearchLinkedService(DataFactoryElement uri) /// URL for Azure Search service. Type: string (or Expression with resultType string). /// Admin Key for Azure Search service. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureSearchLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactorySecretBaseDefinition key, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureSearchLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactorySecretBaseDefinition key, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; Key = key; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.Serialization.cs index 25557352..ef12e1f4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.Serialization.cs @@ -129,8 +129,8 @@ internal static AzureSqlDWLinkedService DeserializeAzureSqlDWLinkedService(JsonE Optional> azureCloudType = default; Optional encryptedCredential = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -263,7 +263,7 @@ internal static AzureSqlDWLinkedService DeserializeAzureSqlDWLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlDWLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, encryptedCredential.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.cs index 5b223535..2e190f92 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWLinkedService.cs @@ -39,7 +39,7 @@ public AzureSqlDWLinkedService(DataFactoryElement connectionString) /// Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. - internal AzureSqlDWLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureSqlDWLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.Serialization.cs index d743183b..762d12f5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static AzureSqlDWTableDataset DeserializeAzureSqlDWTableDataset(JsonEle Optional tableName = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static AzureSqlDWTableDataset DeserializeAzureSqlDWTableDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlDWTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.cs index c1aa4868..aa61f06f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDWTableDataset.cs @@ -36,7 +36,7 @@ public AzureSqlDWTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). /// The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). - internal AzureSqlDWTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSqlDWTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.Serialization.cs index 1293974e..ecdd10fa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.Serialization.cs @@ -135,8 +135,8 @@ internal static AzureSqlDatabaseLinkedService DeserializeAzureSqlDatabaseLinkedS Optional encryptedCredential = default; Optional alwaysEncryptedSettings = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -278,7 +278,7 @@ internal static AzureSqlDatabaseLinkedService DeserializeAzureSqlDatabaseLinkedS } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlDatabaseLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, encryptedCredential.Value, alwaysEncryptedSettings.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.cs index 5b5989b8..49631747 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlDatabaseLinkedService.cs @@ -40,7 +40,7 @@ public AzureSqlDatabaseLinkedService(DataFactoryElement connectionString /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// Sql always encrypted properties. /// The credential reference containing authentication information. - internal AzureSqlDatabaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureSqlDatabaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.Serialization.cs index 233336ed..a1156726 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.Serialization.cs @@ -135,8 +135,8 @@ internal static AzureSqlMILinkedService DeserializeAzureSqlMILinkedService(JsonE Optional encryptedCredential = default; Optional alwaysEncryptedSettings = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -278,7 +278,7 @@ internal static AzureSqlMILinkedService DeserializeAzureSqlMILinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlMILinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, encryptedCredential.Value, alwaysEncryptedSettings.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.cs index 60f5cfe6..9b4a2284 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMILinkedService.cs @@ -40,7 +40,7 @@ public AzureSqlMILinkedService(DataFactoryElement connectionString) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// Sql always encrypted properties. /// The credential reference containing authentication information. - internal AzureSqlMILinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureSqlMILinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.Serialization.cs index b1dd1a13..03f78103 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static AzureSqlMITableDataset DeserializeAzureSqlMITableDataset(JsonEle Optional tableName = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static AzureSqlMITableDataset DeserializeAzureSqlMITableDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlMITableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.cs index 647a91f8..c8d85ff4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlMITableDataset.cs @@ -36,7 +36,7 @@ public AzureSqlMITableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string). /// The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). - internal AzureSqlMITableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSqlMITableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.Serialization.cs index 3efb3eb9..1fa894d2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.Serialization.cs @@ -135,8 +135,8 @@ internal static AzureSqlSink DeserializeAzureSqlSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlWriterStoredProcedureName"u8)) @@ -279,7 +279,7 @@ internal static AzureSqlSink DeserializeAzureSqlSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value, sqlWriterUseTableLock.Value, writeBehavior.Value, upsertSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.cs index 0d5342e2..fcd088c7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSink.cs @@ -36,7 +36,7 @@ public AzureSqlSink() /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). /// Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). /// SQL upsert settings. - internal AzureSqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureSqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.Serialization.cs index 88558110..be0b8d13 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.Serialization.cs @@ -131,8 +131,8 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlReaderQuery"u8)) @@ -257,7 +257,7 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.cs index c7538935..4c30806b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlSource.cs @@ -34,7 +34,7 @@ public AzureSqlSource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal AzureSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AzureSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.Serialization.cs index d43f005b..a4694e9d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static AzureSqlTableDataset DeserializeAzureSqlTableDataset(JsonElement Optional tableName = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static AzureSqlTableDataset DeserializeAzureSqlTableDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSqlTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.cs index c010dd6b..fd18bc3d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSqlTableDataset.cs @@ -36,7 +36,7 @@ public AzureSqlTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the Azure SQL database. Type: string (or Expression with resultType string). /// The table name of the Azure SQL database. Type: string (or Expression with resultType string). - internal AzureSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.Serialization.cs index 337936b3..a0fd5258 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static AzureStorageLinkedService DeserializeAzureStorageLinkedService(J Optional> sasUri = default; Optional sasToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -225,7 +225,7 @@ internal static AzureStorageLinkedService DeserializeAzureStorageLinkedService(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureStorageLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, accountKey, sasUri.Value, sasToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.cs index ded9363c..ca6583df 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureStorageLinkedService.cs @@ -30,7 +30,7 @@ public AzureStorageLinkedService() /// SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of sasToken in sas uri. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AccountKey = accountKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.Serialization.cs index e6e6318c..bb02dabf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static AzureSynapseArtifactsLinkedService DeserializeAzureSynapseArtifa DataFactoryElement endpoint = default; Optional> authentication = default; Optional> workspaceResourceId = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -192,7 +192,7 @@ internal static AzureSynapseArtifactsLinkedService DeserializeAzureSynapseArtifa } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureSynapseArtifactsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, authentication.Value, workspaceResourceId.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.cs index c9f4534b..adbd8b29 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureSynapseArtifactsLinkedService.cs @@ -34,7 +34,7 @@ public AzureSynapseArtifactsLinkedService(DataFactoryElement endpoint) /// https://<workspacename>.dev.azuresynapse.net, Azure Synapse Analytics workspace URL. Type: string (or Expression with resultType string). /// Required to specify MSI, if using system assigned managed identity as authentication method. Type: string (or Expression with resultType string). /// The resource ID of the Synapse workspace. The format should be: /subscriptions/{subscriptionID}/resourceGroups/{resourceGroup}/providers/Microsoft.Synapse/workspaces/{workspaceName}. Type: string (or Expression with resultType string). - internal AzureSynapseArtifactsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement endpoint, DataFactoryElement authentication, DataFactoryElement workspaceResourceId) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureSynapseArtifactsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement endpoint, DataFactoryElement authentication, DataFactoryElement workspaceResourceId) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; Authentication = authentication; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.Serialization.cs index 230fd583..8159865a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static AzureTableDataset DeserializeAzureTableDataset(JsonElement eleme Optional> annotations = default; Optional folder = default; DataFactoryElement tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static AzureTableDataset DeserializeAzureTableDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.cs index f2e7175f..527f3031 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableDataset.cs @@ -37,7 +37,7 @@ public AzureTableDataset(DataFactoryLinkedServiceReference linkedServiceName, Da /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name of the Azure Table storage. Type: string (or Expression with resultType string). - internal AzureTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "AzureTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.Serialization.cs index 7e079857..b8bea889 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.Serialization.cs @@ -97,8 +97,8 @@ internal static AzureTableSink DeserializeAzureTableSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("azureTableDefaultPartitionKeyValue"u8)) @@ -196,7 +196,7 @@ internal static AzureTableSink DeserializeAzureTableSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureTableSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, azureTableDefaultPartitionKeyValue.Value, azureTablePartitionKeyName.Value, azureTableRowKeyName.Value, azureTableInsertType.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.cs index 486e53e8..653d3caa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSink.cs @@ -31,7 +31,7 @@ public AzureTableSink() /// Azure Table partition key name. Type: string (or Expression with resultType string). /// Azure Table row key name. Type: string (or Expression with resultType string). /// Azure Table insert type. Type: string (or Expression with resultType string). - internal AzureTableSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement azureTableDefaultPartitionKeyValue, DataFactoryElement azureTablePartitionKeyName, DataFactoryElement azureTableRowKeyName, DataFactoryElement azureTableInsertType) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal AzureTableSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement azureTableDefaultPartitionKeyValue, DataFactoryElement azureTablePartitionKeyName, DataFactoryElement azureTableRowKeyName, DataFactoryElement azureTableInsertType) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue; AzureTablePartitionKeyName = azureTablePartitionKeyName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.Serialization.cs index f4b5e8c1..95ba40b8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.Serialization.cs @@ -89,8 +89,8 @@ internal static AzureTableSource DeserializeAzureTableSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("azureTableSourceQuery"u8)) @@ -170,7 +170,7 @@ internal static AzureTableSource DeserializeAzureTableSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureTableSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, azureTableSourceQuery.Value, azureTableSourceIgnoreTableNotFound.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.cs index 64eccacf..21dc408d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableSource.cs @@ -29,7 +29,7 @@ public AzureTableSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Azure Table source query. Type: string (or Expression with resultType string). /// Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). - internal AzureTableSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement azureTableSourceQuery, DataFactoryElement azureTableSourceIgnoreTableNotFound) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AzureTableSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement azureTableSourceQuery, DataFactoryElement azureTableSourceIgnoreTableNotFound) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { AzureTableSourceQuery = azureTableSourceQuery; AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.Serialization.cs index 15d4a72e..be731a3a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static AzureTableStorageLinkedService DeserializeAzureTableStorageLinke Optional> sasUri = default; Optional sasToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -225,7 +225,7 @@ internal static AzureTableStorageLinkedService DeserializeAzureTableStorageLinke } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new AzureTableStorageLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, accountKey, sasUri.Value, sasToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.cs index 8ca12901..ed23d78c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/AzureTableStorageLinkedService.cs @@ -30,7 +30,7 @@ public AzureTableStorageLinkedService() /// SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of sasToken in sas uri. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AzureTableStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureTableStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference accountKey, DataFactoryElement sasUri, DataFactoryKeyVaultSecretReference sasToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AccountKey = accountKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.Serialization.cs index 356324e7..c3d97e72 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static BinaryDataset DeserializeBinaryDataset(JsonElement element) Optional folder = default; Optional location = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static BinaryDataset DeserializeBinaryDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new BinaryDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.cs index b3879d68..a203dec9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryDataset.cs @@ -39,7 +39,7 @@ public BinaryDataset(DataFactoryLinkedServiceReference linkedServiceName) : base /// The available derived classes include , , , , , , , , , , , and . /// /// The data compression method used for the binary dataset. - internal BinaryDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal BinaryDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; Compression = compression; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.Serialization.cs index 1f6ce329..b6ce4645 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -42,8 +43,8 @@ internal static BinaryReadSettings DeserializeBinaryReadSettings(JsonElement ele } Optional compressionProperties = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("compressionProperties"u8)) @@ -60,7 +61,7 @@ internal static BinaryReadSettings DeserializeBinaryReadSettings(JsonElement ele type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new BinaryReadSettings(type, additionalProperties, compressionProperties.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.cs index f2758f7c..bce939d6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinaryReadSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// Binary read settings. @@ -24,7 +26,7 @@ public BinaryReadSettings() /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// - internal BinaryReadSettings(string formatReadSettingsType, IDictionary additionalProperties, CompressionReadSettings compressionProperties) : base(formatReadSettingsType, additionalProperties) + internal BinaryReadSettings(string formatReadSettingsType, IDictionary> additionalProperties, CompressionReadSettings compressionProperties) : base(formatReadSettingsType, additionalProperties) { CompressionProperties = compressionProperties; FormatReadSettingsType = formatReadSettingsType ?? "BinaryReadSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.Serialization.cs index 724843eb..44ce735c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.Serialization.cs @@ -79,8 +79,8 @@ internal static BinarySink DeserializeBinarySink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -151,7 +151,7 @@ internal static BinarySink DeserializeBinarySink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new BinarySink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.cs index 17f3b343..974c203c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySink.cs @@ -32,7 +32,7 @@ public BinarySink() /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , and . /// - internal BinarySink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreWriteSettings storeSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal BinarySink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreWriteSettings storeSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; CopySinkType = copySinkType ?? "BinarySink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.Serialization.cs index 6285b64a..54f4a832 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.Serialization.cs @@ -73,8 +73,8 @@ internal static BinarySource DeserializeBinarySource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -136,7 +136,7 @@ internal static BinarySource DeserializeBinarySource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new BinarySource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.cs index 5f4073e6..0ab96ef3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/BinarySource.cs @@ -31,7 +31,7 @@ public BinarySource() /// The available derived classes include , , , , , , , , , , , and . /// /// Binary format settings. - internal BinarySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, BinaryReadSettings formatSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal BinarySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, BinaryReadSettings formatSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.Serialization.cs index c8467165..7d108864 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static CassandraLinkedService DeserializeCassandraLinkedService(JsonEle Optional> username = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static CassandraLinkedService DeserializeCassandraLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CassandraLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, authenticationType.Value, port.Value, username.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.cs index a26c5c24..97b7083e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraLinkedService.cs @@ -37,7 +37,7 @@ public CassandraLinkedService(DataFactoryElement host) /// Username for authentication. Type: string (or Expression with resultType string). /// Password for authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal CassandraLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement authenticationType, DataFactoryElement port, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal CassandraLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement authenticationType, DataFactoryElement port, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.Serialization.cs index 8a402368..acb7632c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.Serialization.cs @@ -89,8 +89,8 @@ internal static CassandraSource DeserializeCassandraSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static CassandraSource DeserializeCassandraSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CassandraSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, Optional.ToNullable(consistencyLevel)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.cs index 6b2c5a82..7cfa0529 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraSource.cs @@ -29,7 +29,7 @@ public CassandraSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). /// The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. - internal CassandraSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, CassandraSourceReadConsistencyLevel? consistencyLevel) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal CassandraSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, CassandraSourceReadConsistencyLevel? consistencyLevel) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; ConsistencyLevel = consistencyLevel; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.Serialization.cs index 7c38d103..b2be5a90 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static CassandraTableDataset DeserializeCassandraTableDataset(JsonEleme Optional folder = default; Optional> tableName = default; Optional> keyspace = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static CassandraTableDataset DeserializeCassandraTableDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CassandraTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, keyspace.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.cs index 61b61f09..8f233ffb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CassandraTableDataset.cs @@ -35,7 +35,7 @@ public CassandraTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// Additional Properties. /// The table name of the Cassandra database. Type: string (or Expression with resultType string). /// The keyspace of the Cassandra database. Type: string (or Expression with resultType string). - internal CassandraTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement keyspace) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CassandraTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName, DataFactoryElement keyspace) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Keyspace = keyspace; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.Serialization.cs index 5e715c7d..1a0a1155 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -80,8 +81,8 @@ internal static ChainingTrigger DeserializeChainingTrigger(JsonElement element) Optional> annotations = default; IList dependsOn = default; string runDimension = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipeline"u8)) @@ -156,7 +157,7 @@ internal static ChainingTrigger DeserializeChainingTrigger(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ChainingTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, pipeline, dependsOn, runDimension); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.cs index 6234564c..6147efbf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ChainingTrigger.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -38,7 +39,7 @@ public ChainingTrigger(TriggerPipelineReference pipeline, IEnumerable Pipeline for which runs are created when all upstream pipelines complete successfully. /// Upstream Pipelines. /// Run Dimension property that needs to be emitted by upstream pipelines. - internal ChainingTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, TriggerPipelineReference pipeline, IList dependsOn, string runDimension) : base(triggerType, description, runtimeState, annotations, additionalProperties) + internal ChainingTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, TriggerPipelineReference pipeline, IList dependsOn, string runDimension) : base(triggerType, description, runtimeState, annotations, additionalProperties) { Pipeline = pipeline; DependsOn = dependsOn; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs index d645a4d2..e64fcb3e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static CommonDataServiceForAppsEntityDataset DeserializeCommonDataServi Optional> annotations = default; Optional folder = default; Optional> entityName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static CommonDataServiceForAppsEntityDataset DeserializeCommonDataServi } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CommonDataServiceForAppsEntityDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, entityName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.cs index 7b56bc67..fe84e6cd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsEntityDataset.cs @@ -34,7 +34,7 @@ public CommonDataServiceForAppsEntityDataset(DataFactoryLinkedServiceReference l /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The logical name of the entity. Type: string (or Expression with resultType string). - internal CommonDataServiceForAppsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CommonDataServiceForAppsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { EntityName = entityName; DatasetType = datasetType ?? "CommonDataServiceForAppsEntity"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.Serialization.cs index 5fa0542b..7e27d7ad 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.Serialization.cs @@ -150,8 +150,8 @@ internal static CommonDataServiceForAppsLinkedService DeserializeCommonDataServi Optional> servicePrincipalCredentialType = default; Optional servicePrincipalCredential = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -316,7 +316,7 @@ internal static CommonDataServiceForAppsLinkedService DeserializeCommonDataServi } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CommonDataServiceForAppsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, deploymentType, hostName.Value, port.Value, serviceUri.Value, organizationName.Value, authenticationType, username.Value, password, servicePrincipalId.Value, servicePrincipalCredentialType.Value, servicePrincipalCredential, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.cs index 792c1498..100c5a82 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsLinkedService.cs @@ -46,7 +46,7 @@ public CommonDataServiceForAppsLinkedService(DataFactoryElement deployme /// The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). /// The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal CommonDataServiceForAppsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement deploymentType, DataFactoryElement hostName, DataFactoryElement port, DataFactoryElement serviceUri, DataFactoryElement organizationName, DataFactoryElement authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal CommonDataServiceForAppsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement deploymentType, DataFactoryElement hostName, DataFactoryElement port, DataFactoryElement serviceUri, DataFactoryElement organizationName, DataFactoryElement authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { DeploymentType = deploymentType; HostName = hostName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.Serialization.cs index 6b77eca3..f070a3d0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.Serialization.cs @@ -88,8 +88,8 @@ internal static CommonDataServiceForAppsSink DeserializeCommonDataServiceForApps Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -174,7 +174,7 @@ internal static CommonDataServiceForAppsSink DeserializeCommonDataServiceForApps disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CommonDataServiceForAppsSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior, ignoreNullValues.Value, alternateKeyName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.cs index bb49a953..8bf76565 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSink.cs @@ -32,7 +32,7 @@ public CommonDataServiceForAppsSink(DynamicsSinkWriteBehavior writeBehavior) /// The write behavior for the operation. /// The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). /// The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). - internal CommonDataServiceForAppsSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DynamicsSinkWriteBehavior writeBehavior, DataFactoryElement ignoreNullValues, DataFactoryElement alternateKeyName) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal CommonDataServiceForAppsSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DynamicsSinkWriteBehavior writeBehavior, DataFactoryElement ignoreNullValues, DataFactoryElement alternateKeyName) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; IgnoreNullValues = ignoreNullValues; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.Serialization.cs index f948e660..76505f3f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.Serialization.cs @@ -77,8 +77,8 @@ internal static CommonDataServiceForAppsSource DeserializeCommonDataServiceForAp Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -140,7 +140,7 @@ internal static CommonDataServiceForAppsSource DeserializeCommonDataServiceForAp disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CommonDataServiceForAppsSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.cs index 86fef1ac..05c367ca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CommonDataServiceForAppsSource.cs @@ -27,7 +27,7 @@ public CommonDataServiceForAppsSource() /// Additional Properties. /// FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal CommonDataServiceForAppsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal CommonDataServiceForAppsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CompressionReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CompressionReadSettings.cs index afc0e961..7fc9613d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CompressionReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CompressionReadSettings.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,13 +20,13 @@ public partial class CompressionReadSettings /// Initializes a new instance of CompressionReadSettings. public CompressionReadSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of CompressionReadSettings. /// The Compression setting type. /// Additional Properties. - internal CompressionReadSettings(string compressionReadSettingsType, IDictionary additionalProperties) + internal CompressionReadSettings(string compressionReadSettingsType, IDictionary> additionalProperties) { CompressionReadSettingsType = compressionReadSettingsType; AdditionalProperties = additionalProperties; @@ -63,6 +64,6 @@ internal CompressionReadSettings(string compressionReadSettingsType, IDictionary /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.Serialization.cs index f27f83da..d8219c13 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.Serialization.cs @@ -130,8 +130,8 @@ internal static ConcurLinkedService DeserializeConcurLinkedService(JsonElement e Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -260,7 +260,7 @@ internal static ConcurLinkedService DeserializeConcurLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ConcurLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, clientId, username, password, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.cs index 7b087dbf..724468f1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurLinkedService.cs @@ -42,7 +42,7 @@ public ConcurLinkedService(DataFactoryElement clientId, DataFactoryEleme /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ConcurLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement clientId, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ConcurLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement clientId, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; ClientId = clientId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.Serialization.cs index 3da90fbd..a5f093da 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static ConcurObjectDataset DeserializeConcurObjectDataset(JsonElement e Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static ConcurObjectDataset DeserializeConcurObjectDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ConcurObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.cs index ddc1b870..4f2bd74b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurObjectDataset.cs @@ -34,7 +34,7 @@ public ConcurObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ConcurObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ConcurObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ConcurObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.Serialization.cs index 176240a0..682226f7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.Serialization.cs @@ -83,8 +83,8 @@ internal static ConcurSource DeserializeConcurSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ConcurSource DeserializeConcurSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ConcurSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.cs index 0b35b934..1a81918c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ConcurSource.cs @@ -28,7 +28,7 @@ public ConcurSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal ConcurSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal ConcurSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "ConcurSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.Serialization.cs index 6f3470cb..251df79c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -97,8 +98,8 @@ internal static ControlActivity DeserializeControlActivity(JsonElement element) Optional onInactiveMarkAs = default; Optional> dependsOn = default; Optional> userProperties = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -162,7 +163,7 @@ internal static ControlActivity DeserializeControlActivity(JsonElement element) userProperties = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ControlActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.cs index 087af943..91fdce44 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ControlActivity.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -35,7 +36,7 @@ public ControlActivity(string name) : base(name) /// Activity depends on condition. /// Activity user properties. /// Additional Properties. - internal ControlActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal ControlActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { ActivityType = activityType ?? "Container"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.Serialization.cs index 72cebff6..045bd339 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.Serialization.cs @@ -233,8 +233,8 @@ internal static CopyActivity DeserializeCopyActivity(JsonElement element) Optional> preserve = default; Optional> validateDataConsistency = default; Optional skipErrorFile = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("inputs"u8)) @@ -507,7 +507,7 @@ internal static CopyActivity DeserializeCopyActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CopyActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, Optional.ToList(inputs), Optional.ToList(outputs), source, sink, translator.Value, enableStaging.Value, stagingSettings.Value, parallelCopies.Value, dataIntegrationUnits.Value, enableSkipIncompatibleRow.Value, redirectIncompatibleRowSettings.Value, logStorageSettings.Value, logSettings.Value, Optional.ToList(preserveRules), Optional.ToList(preserve), validateDataConsistency.Value, skipErrorFile.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.cs index b9c5c0e8..4f72df6b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivity.cs @@ -77,7 +77,7 @@ public CopyActivity(string name, CopyActivitySource source, CopySink sink) : bas /// Preserve rules. /// Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean). /// Specify the fault tolerance for data consistency. - internal CopyActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList inputs, IList outputs, CopyActivitySource source, CopySink sink, BinaryData translator, DataFactoryElement enableStaging, StagingSettings stagingSettings, DataFactoryElement parallelCopies, DataFactoryElement dataIntegrationUnits, DataFactoryElement enableSkipIncompatibleRow, RedirectIncompatibleRowSettings redirectIncompatibleRowSettings, LogStorageSettings logStorageSettings, DataFactoryLogSettings logSettings, IList preserveRules, IList preserve, DataFactoryElement validateDataConsistency, SkipErrorFile skipErrorFile) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal CopyActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList inputs, IList outputs, CopyActivitySource source, CopySink sink, BinaryData translator, DataFactoryElement enableStaging, StagingSettings stagingSettings, DataFactoryElement parallelCopies, DataFactoryElement dataIntegrationUnits, DataFactoryElement enableSkipIncompatibleRow, RedirectIncompatibleRowSettings redirectIncompatibleRowSettings, LogStorageSettings logStorageSettings, DataFactoryLogSettings logSettings, IList preserveRules, IList preserve, DataFactoryElement validateDataConsistency, SkipErrorFile skipErrorFile) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Inputs = inputs; Outputs = outputs; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivitySource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivitySource.cs index 9c5548c1..8d212676 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivitySource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyActivitySource.cs @@ -20,7 +20,7 @@ public partial class CopyActivitySource /// Initializes a new instance of CopyActivitySource. public CopyActivitySource() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of CopyActivitySource. @@ -30,7 +30,7 @@ public CopyActivitySource() /// The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal CopyActivitySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) + internal CopyActivitySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) { CopySourceType = copySourceType; SourceRetryCount = sourceRetryCount; @@ -80,6 +80,6 @@ internal CopyActivitySource(string copySourceType, DataFactoryElement sourc /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.Serialization.cs index 71191aee..7aa73f5c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -45,8 +46,8 @@ internal static CopyComputeScaleProperties DeserializeCopyComputeScaleProperties } Optional dataIntegrationUnit = default; Optional timeToLive = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("dataIntegrationUnit"u8)) @@ -67,7 +68,7 @@ internal static CopyComputeScaleProperties DeserializeCopyComputeScaleProperties timeToLive = property.Value.GetInt32(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CopyComputeScaleProperties(Optional.ToNullable(dataIntegrationUnit), Optional.ToNullable(timeToLive), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.cs index 5a1bfeb7..5dcd7c98 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CopyComputeScaleProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,14 +16,14 @@ public partial class CopyComputeScaleProperties /// Initializes a new instance of CopyComputeScaleProperties. public CopyComputeScaleProperties() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of CopyComputeScaleProperties. /// DIU number setting reserved for copy activity execution. Supported values are multiples of 4 in range 4-256. /// Time to live (in minutes) setting of integration runtime which will execute copy activity. /// Additional Properties. - internal CopyComputeScaleProperties(int? dataIntegrationUnit, int? timeToLive, IDictionary additionalProperties) + internal CopyComputeScaleProperties(int? dataIntegrationUnit, int? timeToLive, IDictionary> additionalProperties) { DataIntegrationUnit = dataIntegrationUnit; TimeToLive = timeToLive; @@ -63,6 +64,6 @@ internal CopyComputeScaleProperties(int? dataIntegrationUnit, int? timeToLive, I /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CopySink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CopySink.cs index fa6d3986..4f3c45f7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CopySink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CopySink.cs @@ -20,7 +20,7 @@ public partial class CopySink /// Initializes a new instance of CopySink. public CopySink() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of CopySink. @@ -32,7 +32,7 @@ public CopySink() /// The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal CopySink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) + internal CopySink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) { CopySinkType = copySinkType; WriteBatchSize = writeBatchSize; @@ -88,6 +88,6 @@ internal CopySink(string copySinkType, DataFactoryElement writeBatchSize, D /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.Serialization.cs index bf22b069..6a90a2eb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.Serialization.cs @@ -156,8 +156,8 @@ internal static CosmosDBLinkedService DeserializeCosmosDBLinkedService(JsonEleme Optional connectionMode = default; Optional encryptedCredential = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -330,7 +330,7 @@ internal static CosmosDBLinkedService DeserializeCosmosDBLinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, accountEndpoint.Value, database.Value, accountKey, servicePrincipalId.Value, servicePrincipalCredentialType.Value, servicePrincipalCredential, tenant.Value, azureCloudType.Value, Optional.ToNullable(connectionMode), encryptedCredential.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.cs index efabcecd..f3c7ba28 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBLinkedService.cs @@ -37,7 +37,7 @@ public CosmosDBLinkedService() /// The connection mode used to access CosmosDB account. Type: string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. - internal CosmosDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement accountEndpoint, DataFactoryElement database, DataFactorySecretBaseDefinition accountKey, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, DataFactoryElement tenant, DataFactoryElement azureCloudType, CosmosDBConnectionMode? connectionMode, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal CosmosDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement accountEndpoint, DataFactoryElement database, DataFactorySecretBaseDefinition accountKey, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, DataFactoryElement tenant, DataFactoryElement azureCloudType, CosmosDBConnectionMode? connectionMode, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AccountEndpoint = accountEndpoint; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs index 45ccbf60..102a76ad 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static CosmosDBMongoDBApiCollectionDataset DeserializeCosmosDBMongoDBAp Optional> annotations = default; Optional folder = default; DataFactoryElement collection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static CosmosDBMongoDBApiCollectionDataset DeserializeCosmosDBMongoDBAp } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBMongoDBApiCollectionDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, collection); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs index 949caf1f..ddf586a5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs @@ -37,7 +37,7 @@ public CosmosDBMongoDBApiCollectionDataset(DataFactoryLinkedServiceReference lin /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). - internal CosmosDBMongoDBApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CosmosDBMongoDBApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Collection = collection; DatasetType = datasetType ?? "CosmosDbMongoDbApiCollection"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.Serialization.cs index 52887aed..d8d4775b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.Serialization.cs @@ -96,8 +96,8 @@ internal static CosmosDBMongoDBApiLinkedService DeserializeCosmosDBMongoDBApiLin Optional> isServerVersionAbove32 = default; DataFactoryElement connectionString = default; DataFactoryElement database = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -185,7 +185,7 @@ internal static CosmosDBMongoDBApiLinkedService DeserializeCosmosDBMongoDBApiLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBMongoDBApiLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, isServerVersionAbove32.Value, connectionString, database); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.cs index 772bbb41..73733384 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiLinkedService.cs @@ -37,7 +37,7 @@ public CosmosDBMongoDBApiLinkedService(DataFactoryElement connectionStri /// Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean). /// The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. /// The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). - internal CosmosDBMongoDBApiLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement isServerVersionAbove32, DataFactoryElement connectionString, DataFactoryElement database) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal CosmosDBMongoDBApiLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement isServerVersionAbove32, DataFactoryElement connectionString, DataFactoryElement database) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { IsServerVersionAbove32 = isServerVersionAbove32; ConnectionString = connectionString; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.Serialization.cs index 9b1e6e05..10716ccd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.Serialization.cs @@ -79,8 +79,8 @@ internal static CosmosDBMongoDBApiSink DeserializeCosmosDBMongoDBApiSink(JsonEle Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -151,7 +151,7 @@ internal static CosmosDBMongoDBApiSink DeserializeCosmosDBMongoDBApiSink(JsonEle disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBMongoDBApiSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.cs index dfb8b568..0afe1fc8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSink.cs @@ -28,7 +28,7 @@ public CosmosDBMongoDBApiSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). - internal CosmosDBMongoDBApiSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal CosmosDBMongoDBApiSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; CopySinkType = copySinkType ?? "CosmosDbMongoDbApiSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.Serialization.cs index 40dbde5b..e80a4af2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.Serialization.cs @@ -95,8 +95,8 @@ internal static CosmosDBMongoDBApiSource DeserializeCosmosDBMongoDBApiSource(Jso Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("filter"u8)) @@ -185,7 +185,7 @@ internal static CosmosDBMongoDBApiSource DeserializeCosmosDBMongoDBApiSource(Jso disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBMongoDBApiSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, filter.Value, cursorMethods.Value, batchSize.Value, queryTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.cs index b35a8348..e2745577 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBMongoDBApiSource.cs @@ -30,7 +30,7 @@ public CosmosDBMongoDBApiSource() /// Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal CosmosDBMongoDBApiSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement filter, MongoDBCursorMethodsProperties cursorMethods, DataFactoryElement batchSize, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal CosmosDBMongoDBApiSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement filter, MongoDBCursorMethodsProperties cursorMethods, DataFactoryElement batchSize, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Filter = filter; CursorMethods = cursorMethods; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs index 06495d13..9ddc70cc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static CosmosDBSqlApiCollectionDataset DeserializeCosmosDBSqlApiCollect Optional> annotations = default; Optional folder = default; DataFactoryElement collectionName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static CosmosDBSqlApiCollectionDataset DeserializeCosmosDBSqlApiCollect } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBSqlApiCollectionDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, collectionName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.cs index 9d31e538..ef32bfd3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiCollectionDataset.cs @@ -37,7 +37,7 @@ public CosmosDBSqlApiCollectionDataset(DataFactoryLinkedServiceReference linkedS /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). - internal CosmosDBSqlApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CosmosDBSqlApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { CollectionName = collectionName; DatasetType = datasetType ?? "CosmosDbSqlApiCollection"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.Serialization.cs index 392bd0e0..5d1d318a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.Serialization.cs @@ -79,8 +79,8 @@ internal static CosmosDBSqlApiSink DeserializeCosmosDBSqlApiSink(JsonElement ele Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -151,7 +151,7 @@ internal static CosmosDBSqlApiSink DeserializeCosmosDBSqlApiSink(JsonElement ele disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBSqlApiSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.cs index a351733e..e2ed04ce 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSink.cs @@ -28,7 +28,7 @@ public CosmosDBSqlApiSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. - internal CosmosDBSqlApiSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal CosmosDBSqlApiSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; CopySinkType = copySinkType ?? "CosmosDbSqlApiSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.Serialization.cs index c274a3c4..ae47c3af 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.Serialization.cs @@ -95,8 +95,8 @@ internal static CosmosDBSqlApiSource DeserializeCosmosDBSqlApiSource(JsonElement Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -185,7 +185,7 @@ internal static CosmosDBSqlApiSource DeserializeCosmosDBSqlApiSource(JsonElement disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CosmosDBSqlApiSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, pageSize.Value, preferredRegions.Value, detectDatetime.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.cs index ee205caf..ddc9b2a6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CosmosDBSqlApiSource.cs @@ -30,7 +30,7 @@ public CosmosDBSqlApiSource() /// Preferred regions. Type: array of strings (or Expression with resultType array of strings). /// Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal CosmosDBSqlApiSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, DataFactoryElement pageSize, DataFactoryElement> preferredRegions, DataFactoryElement detectDatetime, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal CosmosDBSqlApiSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, DataFactoryElement pageSize, DataFactoryElement> preferredRegions, DataFactoryElement detectDatetime, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; PageSize = pageSize; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.Serialization.cs index 4dde5946..8b44da89 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static CouchbaseLinkedService DeserializeCouchbaseLinkedService(JsonEle Optional> connectionString = default; Optional credString = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static CouchbaseLinkedService DeserializeCouchbaseLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CouchbaseLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, credString, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.cs index b56c498d..e53163c6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseLinkedService.cs @@ -28,7 +28,7 @@ public CouchbaseLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of credString in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal CouchbaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference credString, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal CouchbaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference credString, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; CredString = credString; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.Serialization.cs index fff70885..2c7f30dd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.Serialization.cs @@ -83,8 +83,8 @@ internal static CouchbaseSource DeserializeCouchbaseSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static CouchbaseSource DeserializeCouchbaseSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CouchbaseSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.cs index 0f8d8ffb..c46ec074 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseSource.cs @@ -28,7 +28,7 @@ public CouchbaseSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal CouchbaseSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal CouchbaseSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "CouchbaseSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.Serialization.cs index 98cf8ff9..65cc924a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static CouchbaseTableDataset DeserializeCouchbaseTableDataset(JsonEleme Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static CouchbaseTableDataset DeserializeCouchbaseTableDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CouchbaseTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.cs index 16d26f50..132ab507 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CouchbaseTableDataset.cs @@ -34,7 +34,7 @@ public CouchbaseTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal CouchbaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CouchbaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "CouchbaseTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.Serialization.cs index 4d9fb469..fa568744 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.Serialization.cs @@ -150,11 +150,11 @@ internal static CustomActivity DeserializeCustomActivity(JsonElement element) Optional resourceLinkedService = default; Optional> folderPath = default; Optional referenceObjects = default; - Optional> extendedProperties = default; + Optional>> extendedProperties = default; Optional retentionTimeInDays = default; Optional> autoUserSpecification = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -283,7 +283,7 @@ internal static CustomActivity DeserializeCustomActivity(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -292,7 +292,7 @@ internal static CustomActivity DeserializeCustomActivity(JsonElement element) } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } extendedProperties = dictionary; @@ -319,7 +319,7 @@ internal static CustomActivity DeserializeCustomActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CustomActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, command, resourceLinkedService, folderPath.Value, referenceObjects.Value, Optional.ToDictionary(extendedProperties), retentionTimeInDays.Value, autoUserSpecification.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.cs index 8d127707..421793e8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomActivity.cs @@ -23,7 +23,7 @@ public CustomActivity(string name, DataFactoryElement command) : base(na Argument.AssertNotNull(command, nameof(command)); Command = command; - ExtendedProperties = new ChangeTrackingDictionary(); + ExtendedProperties = new ChangeTrackingDictionary>(); ActivityType = "Custom"; } @@ -45,7 +45,7 @@ public CustomActivity(string name, DataFactoryElement command) : base(na /// User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. /// The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). /// Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double). - internal CustomActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement command, DataFactoryLinkedServiceReference resourceLinkedService, DataFactoryElement folderPath, CustomActivityReferenceObject referenceObjects, IDictionary extendedProperties, BinaryData retentionTimeInDays, DataFactoryElement autoUserSpecification) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal CustomActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement command, DataFactoryLinkedServiceReference resourceLinkedService, DataFactoryElement folderPath, CustomActivityReferenceObject referenceObjects, IDictionary> extendedProperties, BinaryData retentionTimeInDays, DataFactoryElement autoUserSpecification) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Command = command; ResourceLinkedService = resourceLinkedService; @@ -95,7 +95,7 @@ internal CustomActivity(string name, string activityType, string description, Pi /// /// /// - public IDictionary ExtendedProperties { get; } + public IDictionary> ExtendedProperties { get; } /// /// The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). /// diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.Serialization.cs index 5212899b..38526c27 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -87,8 +88,8 @@ internal static CustomDataSourceLinkedService DeserializeCustomDataSourceLinkedS Optional description = default; Optional> parameters = default; Optional> annotations = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("typeProperties"u8)) @@ -150,7 +151,7 @@ internal static CustomDataSourceLinkedService DeserializeCustomDataSourceLinkedS annotations = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CustomDataSourceLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, typeProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.cs index 3886844c..30320f79 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataSourceLinkedService.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -31,7 +32,7 @@ public CustomDataSourceLinkedService(BinaryData typeProperties) /// List of tags that can be used for describing the linked service. /// Additional Properties. /// Custom linked service properties. - internal CustomDataSourceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData typeProperties) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal CustomDataSourceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData typeProperties) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { TypeProperties = typeProperties; LinkedServiceType = linkedServiceType ?? "CustomDataSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.Serialization.cs index 7f541701..a78dafef 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.Serialization.cs @@ -105,8 +105,8 @@ internal static CustomDataset DeserializeCustomDataset(JsonElement element) Optional> parameters = default; Optional> annotations = default; Optional folder = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("typeProperties"u8)) @@ -195,7 +195,7 @@ internal static CustomDataset DeserializeCustomDataset(JsonElement element) folder = DatasetFolder.DeserializeDatasetFolder(property.Value); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CustomDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, typeProperties.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.cs index d02aed17..017f2b04 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomDataset.cs @@ -34,7 +34,7 @@ public CustomDataset(DataFactoryLinkedServiceReference linkedServiceName) : base /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// Custom dataset properties. - internal CustomDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData typeProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CustomDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData typeProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TypeProperties = typeProperties; DatasetType = datasetType ?? "CustomDataset"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.Serialization.cs index a008e368..1f6c5de6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -109,8 +110,8 @@ internal static CustomEventsTrigger DeserializeCustomEventsTrigger(JsonElement e Optional subjectEndsWith = default; IList events = default; string scope = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelines"u8)) @@ -211,7 +212,7 @@ internal static CustomEventsTrigger DeserializeCustomEventsTrigger(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new CustomEventsTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, Optional.ToList(pipelines), subjectBeginsWith.Value, subjectEndsWith.Value, events, scope); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.cs index 00ab4e43..462a88e1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/CustomEventsTrigger.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -37,7 +38,7 @@ public CustomEventsTrigger(IEnumerable events, string scope) /// The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. /// The list of event types that cause this trigger to fire. /// The ARM resource ID of the Azure Event Grid Topic. - internal CustomEventsTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, IList pipelines, string subjectBeginsWith, string subjectEndsWith, IList events, string scope) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) + internal CustomEventsTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, IList pipelines, string subjectBeginsWith, string subjectEndsWith, IList events, string scope) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) { SubjectBeginsWith = subjectBeginsWith; SubjectEndsWith = subjectEndsWith; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.Serialization.cs index 3ebcedaf..a085824d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -106,8 +107,8 @@ internal static DataFactoryBlobEventsTrigger DeserializeDataFactoryBlobEventsTri Optional ignoreEmptyBlobs = default; IList events = default; string scope = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelines"u8)) @@ -210,7 +211,7 @@ internal static DataFactoryBlobEventsTrigger DeserializeDataFactoryBlobEventsTri } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryBlobEventsTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, Optional.ToList(pipelines), blobPathBeginsWith.Value, blobPathEndsWith.Value, Optional.ToNullable(ignoreEmptyBlobs), events, scope); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.cs index f0e93ac7..130c30ba 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobEventsTrigger.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -38,7 +39,7 @@ public DataFactoryBlobEventsTrigger(IEnumerable events /// If set to true, blobs with zero bytes will be ignored. /// The type of events that cause this trigger to fire. /// The ARM resource ID of the Storage Account. - internal DataFactoryBlobEventsTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, IList pipelines, string blobPathBeginsWith, string blobPathEndsWith, bool? ignoreEmptyBlobs, IList events, string scope) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) + internal DataFactoryBlobEventsTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, IList pipelines, string blobPathBeginsWith, string blobPathEndsWith, bool? ignoreEmptyBlobs, IList events, string scope) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) { BlobPathBeginsWith = blobPathBeginsWith; BlobPathEndsWith = blobPathEndsWith; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.Serialization.cs index 96356b82..f538fad9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.Serialization.cs @@ -112,8 +112,8 @@ internal static DataFactoryBlobSink DeserializeDataFactoryBlobSink(JsonElement e Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("blobWriterOverwriteFiles"u8)) @@ -225,7 +225,7 @@ internal static DataFactoryBlobSink DeserializeDataFactoryBlobSink(JsonElement e disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryBlobSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, blobWriterOverwriteFiles.Value, blobWriterDateTimeFormat.Value, blobWriterAddHeader.Value, copyBehavior.Value, Optional.ToList(metadata)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.cs index d29553c0..03a10ced 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSink.cs @@ -34,7 +34,7 @@ public DataFactoryBlobSink() /// Blob writer add header. Type: boolean (or Expression with resultType boolean). /// The type of copy behavior for copy sink. /// Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). - internal DataFactoryBlobSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement blobWriterOverwriteFiles, DataFactoryElement blobWriterDateTimeFormat, DataFactoryElement blobWriterAddHeader, BinaryData copyBehavior, IList metadata) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DataFactoryBlobSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement blobWriterOverwriteFiles, DataFactoryElement blobWriterDateTimeFormat, DataFactoryElement blobWriterAddHeader, BinaryData copyBehavior, IList metadata) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { BlobWriterOverwriteFiles = blobWriterOverwriteFiles; BlobWriterDateTimeFormat = blobWriterDateTimeFormat; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.Serialization.cs index e50fd1a4..59b65dd1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.Serialization.cs @@ -79,8 +79,8 @@ internal static DataFactoryBlobSource DeserializeDataFactoryBlobSource(JsonEleme Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("treatEmptyAsNull"u8)) @@ -151,7 +151,7 @@ internal static DataFactoryBlobSource DeserializeDataFactoryBlobSource(JsonEleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryBlobSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, treatEmptyAsNull.Value, skipHeaderLineCount.Value, recursive.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.cs index f256bbf3..090d0d3b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobSource.cs @@ -28,7 +28,7 @@ public DataFactoryBlobSource() /// Treat empty as null. Type: boolean (or Expression with resultType boolean). /// Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - internal DataFactoryBlobSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement treatEmptyAsNull, DataFactoryElement skipHeaderLineCount, DataFactoryElement recursive) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DataFactoryBlobSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement treatEmptyAsNull, DataFactoryElement skipHeaderLineCount, DataFactoryElement recursive) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { TreatEmptyAsNull = treatEmptyAsNull; SkipHeaderLineCount = skipHeaderLineCount; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.Serialization.cs index 70beb4e7..841468a4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.Serialization.cs @@ -86,8 +86,8 @@ internal static DataFactoryBlobTrigger DeserializeDataFactoryBlobTrigger(JsonEle string folderPath = default; int maxConcurrency = default; DataFactoryLinkedServiceReference linkedService = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelines"u8)) @@ -171,7 +171,7 @@ internal static DataFactoryBlobTrigger DeserializeDataFactoryBlobTrigger(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryBlobTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, Optional.ToList(pipelines), folderPath, maxConcurrency, linkedService); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.cs index 9d07207e..a7c95e6c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryBlobTrigger.cs @@ -39,7 +39,7 @@ public DataFactoryBlobTrigger(string folderPath, int maxConcurrency, DataFactory /// The path of the container/folder that will trigger the pipeline. /// The max number of parallel files to handle when it is triggered. /// The Azure Storage linked service reference. - internal DataFactoryBlobTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, IList pipelines, string folderPath, int maxConcurrency, DataFactoryLinkedServiceReference linkedService) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) + internal DataFactoryBlobTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, IList pipelines, string folderPath, int maxConcurrency, DataFactoryLinkedServiceReference linkedService) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) { FolderPath = folderPath; MaxConcurrency = maxConcurrency; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryChangeDataCaptureData.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryChangeDataCaptureData.Serialization.cs index b185a2dd..01dff45d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryChangeDataCaptureData.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryChangeDataCaptureData.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; using AzureDataFactory.TestingFramework.Models; using Azure.ResourceManager.Models; @@ -86,8 +87,8 @@ internal static DataFactoryChangeDataCaptureData DeserializeDataFactoryChangeDat MapperPolicy policy = default; Optional allowVnetOverride = default; Optional status = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("etag"u8)) @@ -188,7 +189,7 @@ internal static DataFactoryChangeDataCaptureData DeserializeDataFactoryChangeDat } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryChangeDataCaptureData(id, name, type, systemData.Value, folder.Value, description.Value, sourceConnectionsInfo, targetConnectionsInfo, policy, Optional.ToNullable(allowVnetOverride), status.Value, Optional.ToNullable(etag), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredential.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredential.cs index 98d38c08..2509fd7b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredential.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredential.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -20,7 +21,7 @@ public partial class DataFactoryCredential public DataFactoryCredential() { Annotations = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryCredential. @@ -28,7 +29,7 @@ public DataFactoryCredential() /// Credential description. /// List of tags that can be used for describing the Credential. /// Additional Properties. - internal DataFactoryCredential(string credentialType, string description, IList annotations, IDictionary additionalProperties) + internal DataFactoryCredential(string credentialType, string description, IList annotations, IDictionary> additionalProperties) { CredentialType = credentialType; Description = description; @@ -101,6 +102,6 @@ internal DataFactoryCredential(string credentialType, string description, IList< /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.Serialization.cs index b5b5134c..a0d9e13a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -39,8 +40,8 @@ internal static DataFactoryCredentialReference DeserializeDataFactoryCredentialR } DataFactoryCredentialReferenceType type = default; string referenceName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -53,7 +54,7 @@ internal static DataFactoryCredentialReference DeserializeDataFactoryCredentialR referenceName = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryCredentialReference(type, referenceName, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.cs index 636e7473..8824a9ad 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryCredentialReference.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -22,14 +23,14 @@ public DataFactoryCredentialReference(DataFactoryCredentialReferenceType referen ReferenceType = referenceType; ReferenceName = referenceName; - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryCredentialReference. /// Credential reference type. /// Reference credential name. /// Additional Properties. - internal DataFactoryCredentialReference(DataFactoryCredentialReferenceType referenceType, string referenceName, IDictionary additionalProperties) + internal DataFactoryCredentialReference(DataFactoryCredentialReferenceType referenceType, string referenceName, IDictionary> additionalProperties) { ReferenceType = referenceType; ReferenceName = referenceName; @@ -70,6 +71,6 @@ internal DataFactoryCredentialReference(DataFactoryCredentialReferenceType refer /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryData.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryData.Serialization.cs index 1d3b92f7..0b28ef56 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryData.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryData.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; using AzureDataFactory.TestingFramework.Models; using Azure.ResourceManager.Models; @@ -104,8 +105,8 @@ internal static DataFactoryData DeserializeDataFactoryData(JsonElement element) Optional> globalParameters = default; Optional encryption = default; Optional publicNetworkAccess = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("identity"u8)) @@ -251,7 +252,7 @@ internal static DataFactoryData DeserializeDataFactoryData(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, identity, provisioningState.Value, Optional.ToNullable(createTime), version.Value, purviewConfiguration.Value, repoConfiguration.Value, Optional.ToDictionary(globalParameters), encryption.Value, Optional.ToNullable(publicNetworkAccess), Optional.ToNullable(eTag), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDataFlowDebugPackageContent.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDataFlowDebugPackageContent.cs index 6fe09b6c..e66ced06 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDataFlowDebugPackageContent.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDataFlowDebugPackageContent.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -18,7 +19,7 @@ public DataFactoryDataFlowDebugPackageContent() DataFlows = new ChangeTrackingList(); Datasets = new ChangeTrackingList(); LinkedServices = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// The ID of data flow debug session. @@ -65,6 +66,6 @@ public DataFactoryDataFlowDebugPackageContent() /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDatasetProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDatasetProperties.cs index 14d69351..3da98f58 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDatasetProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryDatasetProperties.cs @@ -27,7 +27,7 @@ public DataFactoryDatasetProperties(DataFactoryLinkedServiceReference linkedServ LinkedServiceName = linkedServiceName; Parameters = new ChangeTrackingDictionary(); Annotations = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryDatasetProperties. @@ -40,7 +40,7 @@ public DataFactoryDatasetProperties(DataFactoryLinkedServiceReference linkedServ /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - internal DataFactoryDatasetProperties(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) + internal DataFactoryDatasetProperties(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties) { DatasetType = datasetType; Description = description; @@ -140,6 +140,6 @@ public string FolderName /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.Serialization.cs index 3e8c7856..f4ecb9a5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.Serialization.cs @@ -134,8 +134,8 @@ internal static DataFactoryHttpDataset DeserializeDataFactoryHttpDataset(JsonEle Optional> additionalHeaders = default; Optional format = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -281,7 +281,7 @@ internal static DataFactoryHttpDataset DeserializeDataFactoryHttpDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryHttpDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, relativeUrl.Value, requestMethod.Value, requestBody.Value, additionalHeaders.Value, format.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.cs index f7379015..94ec615c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpDataset.cs @@ -47,7 +47,7 @@ public DataFactoryHttpDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The available derived classes include , , , and . /// /// The data compression method used on files. - internal DataFactoryHttpDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DataFactoryHttpDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { RelativeUri = relativeUri; RequestMethod = requestMethod; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.Serialization.cs index d9c9cb1d..0b6679af 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.Serialization.cs @@ -67,8 +67,8 @@ internal static DataFactoryHttpFileSource DeserializeDataFactoryHttpFileSource(J Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("httpRequestTimeout"u8)) @@ -121,7 +121,7 @@ internal static DataFactoryHttpFileSource DeserializeDataFactoryHttpFileSource(J disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryHttpFileSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, httpRequestTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.cs index 0510b23e..5cb840f3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryHttpFileSource.cs @@ -26,7 +26,7 @@ public DataFactoryHttpFileSource() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - internal DataFactoryHttpFileSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DataFactoryHttpFileSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { HttpRequestTimeout = httpRequestTimeout; CopySourceType = copySourceType ?? "HttpSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryIntegrationRuntimeProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryIntegrationRuntimeProperties.cs index 3ebd7ba5..d796621f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryIntegrationRuntimeProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryIntegrationRuntimeProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,14 +20,14 @@ public partial class DataFactoryIntegrationRuntimeProperties /// Initializes a new instance of DataFactoryIntegrationRuntimeProperties. public DataFactoryIntegrationRuntimeProperties() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryIntegrationRuntimeProperties. /// Type of integration runtime. /// Integration runtime description. /// Additional Properties. - internal DataFactoryIntegrationRuntimeProperties(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary additionalProperties) + internal DataFactoryIntegrationRuntimeProperties(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary> additionalProperties) { IntegrationRuntimeType = integrationRuntimeType; Description = description; @@ -67,6 +68,6 @@ internal DataFactoryIntegrationRuntimeProperties(IntegrationRuntimeType integrat /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryLinkedServiceProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryLinkedServiceProperties.cs index 723e4182..1ddb9614 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryLinkedServiceProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryLinkedServiceProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -21,7 +22,7 @@ public DataFactoryLinkedServiceProperties() { Parameters = new ChangeTrackingDictionary(); Annotations = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryLinkedServiceProperties. @@ -31,7 +32,7 @@ public DataFactoryLinkedServiceProperties() /// Parameters for linked service. /// List of tags that can be used for describing the linked service. /// Additional Properties. - internal DataFactoryLinkedServiceProperties(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties) + internal DataFactoryLinkedServiceProperties(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties) { LinkedServiceType = linkedServiceType; ConnectVia = connectVia; @@ -110,6 +111,6 @@ internal DataFactoryLinkedServiceProperties(string linkedServiceType, Integratio /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.Serialization.cs index caa34a01..86c7d84a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -71,8 +72,8 @@ internal static DataFactoryManagedIdentityCredentialProperties DeserializeDataFa Optional description = default; Optional> annotations = default; Optional resourceId = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -127,7 +128,7 @@ internal static DataFactoryManagedIdentityCredentialProperties DeserializeDataFa } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryManagedIdentityCredentialProperties(type, description.Value, Optional.ToList(annotations), additionalProperties, resourceId.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.cs index cc667974..bb60afa4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedIdentityCredentialProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -24,7 +25,7 @@ public DataFactoryManagedIdentityCredentialProperties() /// List of tags that can be used for describing the Credential. /// Additional Properties. /// The resource id of user assigned managed identity. - internal DataFactoryManagedIdentityCredentialProperties(string credentialType, string description, IList annotations, IDictionary additionalProperties, ResourceIdentifier resourceId) : base(credentialType, description, annotations, additionalProperties) + internal DataFactoryManagedIdentityCredentialProperties(string credentialType, string description, IList annotations, IDictionary> additionalProperties, ResourceIdentifier resourceId) : base(credentialType, description, annotations, additionalProperties) { ResourceId = resourceId; CredentialType = credentialType ?? "ManagedIdentity"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.Serialization.cs index d1b33d45..52eca528 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -35,8 +36,8 @@ internal static DataFactoryManagedVirtualNetworkProperties DeserializeDataFactor } Optional vnetId = default; Optional @alias = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("vNetId"u8)) @@ -53,7 +54,7 @@ internal static DataFactoryManagedVirtualNetworkProperties DeserializeDataFactor @alias = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryManagedVirtualNetworkProperties(Optional.ToNullable(vnetId), @alias.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.cs index 60d81436..52ac2794 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryManagedVirtualNetworkProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,14 +16,14 @@ public partial class DataFactoryManagedVirtualNetworkProperties /// Initializes a new instance of DataFactoryManagedVirtualNetworkProperties. public DataFactoryManagedVirtualNetworkProperties() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryManagedVirtualNetworkProperties. /// Managed Virtual Network ID. /// Managed Virtual Network alias. /// Additional Properties. - internal DataFactoryManagedVirtualNetworkProperties(Guid? vnetId, string @alias, IDictionary additionalProperties) + internal DataFactoryManagedVirtualNetworkProperties(Guid? vnetId, string @alias, IDictionary> additionalProperties) { VnetId = vnetId; Alias = @alias; @@ -63,6 +64,6 @@ internal DataFactoryManagedVirtualNetworkProperties(Guid? vnetId, string @alias, /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineData.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineData.Serialization.cs index 4dd56bf1..684bd7e9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineData.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineData.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; using AzureDataFactory.TestingFramework.Models; using Azure.ResourceManager.Models; @@ -140,11 +141,11 @@ internal static Pipeline DeserializeDataFactoryPipelineData(JsonElement element) Optional> variables = default; Optional concurrency = default; Optional> annotations = default; - Optional> runDimensions = default; + Optional>> runDimensions = default; Optional folder = default; Optional policy = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("etag"u8)) @@ -272,7 +273,7 @@ internal static Pipeline DeserializeDataFactoryPipelineData(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -281,7 +282,7 @@ internal static Pipeline DeserializeDataFactoryPipelineData(JsonElement element) } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } runDimensions = dictionary; @@ -308,7 +309,7 @@ internal static Pipeline DeserializeDataFactoryPipelineData(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Pipeline(id, name, type, systemData.Value, description.Value, Optional.ToList(activities), Optional.ToDictionary(parameters), Optional.ToDictionary(variables), Optional.ToNullable(concurrency), Optional.ToList(annotations), Optional.ToDictionary(runDimensions), folder.Value, policy.Value, Optional.ToNullable(etag), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.Serialization.cs index 1e035457..dd03c36e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -31,8 +32,8 @@ internal static DataFactoryPipelineRunInfo DeserializeDataFactoryPipelineRunInfo Optional durationInMs = default; Optional status = default; Optional message = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("runId"u8)) @@ -146,7 +147,7 @@ internal static DataFactoryPipelineRunInfo DeserializeDataFactoryPipelineRunInfo message = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryPipelineRunInfo(Optional.ToNullable(runId), runGroupId.Value, Optional.ToNullable(isLatest), pipelineName.Value, Optional.ToDictionary(parameters), Optional.ToDictionary(runDimensions), invokedBy.Value, Optional.ToNullable(lastUpdated), Optional.ToNullable(runStart), Optional.ToNullable(runEnd), Optional.ToNullable(durationInMs), status.Value, message.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.cs index 67273cca..8411e5c4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPipelineRunInfo.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -17,7 +18,7 @@ internal DataFactoryPipelineRunInfo() { Parameters = new ChangeTrackingDictionary(); RunDimensions = new ChangeTrackingDictionary(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryPipelineRunInfo. @@ -35,7 +36,7 @@ internal DataFactoryPipelineRunInfo() /// The status of a pipeline run. Possible values: Queued, InProgress, Succeeded, Failed, Canceling, Cancelled. /// The message from a pipeline run. /// Additional Properties. - internal DataFactoryPipelineRunInfo(Guid? runId, string runGroupId, bool? isLatest, string pipelineName, IReadOnlyDictionary parameters, IReadOnlyDictionary runDimensions, DataFactoryPipelineRunEntityInfo invokedBy, DateTimeOffset? lastUpdatedOn, DateTimeOffset? runStartOn, DateTimeOffset? runEndOn, int? durationInMs, string status, string message, IReadOnlyDictionary additionalProperties) + internal DataFactoryPipelineRunInfo(Guid? runId, string runGroupId, bool? isLatest, string pipelineName, IReadOnlyDictionary parameters, IReadOnlyDictionary runDimensions, DataFactoryPipelineRunEntityInfo invokedBy, DateTimeOffset? lastUpdatedOn, DateTimeOffset? runStartOn, DateTimeOffset? runEndOn, int? durationInMs, string status, string message, IReadOnlyDictionary> additionalProperties) { RunId = runId; RunGroupId = runGroupId; @@ -109,6 +110,6 @@ internal DataFactoryPipelineRunInfo(Guid? runId, string runGroupId, bool? isLate /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.Serialization.cs index d4ba6885..96e7391d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -64,8 +65,8 @@ internal static DataFactoryPrivateEndpointProperties DeserializeDataFactoryPriva Optional isReserved = default; Optional privateLinkResourceId = default; Optional provisioningState = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("connectionState"u8)) @@ -119,7 +120,7 @@ internal static DataFactoryPrivateEndpointProperties DeserializeDataFactoryPriva provisioningState = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryPrivateEndpointProperties(connectionState.Value, Optional.ToList(fqdns), groupId.Value, Optional.ToNullable(isReserved), privateLinkResourceId.Value, provisioningState.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.cs index 79618bf7..78d713f8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryPrivateEndpointProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class DataFactoryPrivateEndpointProperties public DataFactoryPrivateEndpointProperties() { Fqdns = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryPrivateEndpointProperties. @@ -27,7 +28,7 @@ public DataFactoryPrivateEndpointProperties() /// The ARM resource ID of the resource to which the managed private endpoint is created. /// The managed private endpoint provisioning state. /// Additional Properties. - internal DataFactoryPrivateEndpointProperties(ConnectionStateProperties connectionState, IList fqdns, string groupId, bool? isReserved, ResourceIdentifier privateLinkResourceId, string provisioningState, IDictionary additionalProperties) + internal DataFactoryPrivateEndpointProperties(ConnectionStateProperties connectionState, IList fqdns, string groupId, bool? isReserved, ResourceIdentifier privateLinkResourceId, string provisioningState, IDictionary> additionalProperties) { ConnectionState = connectionState; Fqdns = fqdns; @@ -80,6 +81,6 @@ internal DataFactoryPrivateEndpointProperties(ConnectionStateProperties connecti /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.Serialization.cs index d8b37831..c8f47772 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -88,8 +89,8 @@ internal static DataFactoryRecurrenceSchedule DeserializeDataFactoryRecurrenceSc Optional> weekDays = default; Optional> monthDays = default; Optional> monthlyOccurrences = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("minutes"u8)) @@ -162,7 +163,7 @@ internal static DataFactoryRecurrenceSchedule DeserializeDataFactoryRecurrenceSc monthlyOccurrences = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryRecurrenceSchedule(Optional.ToList(minutes), Optional.ToList(hours), Optional.ToList(weekDays), Optional.ToList(monthDays), Optional.ToList(monthlyOccurrences), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.cs index a6b76986..b9c42270 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceSchedule.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -20,7 +21,7 @@ public DataFactoryRecurrenceSchedule() WeekDays = new ChangeTrackingList(); MonthDays = new ChangeTrackingList(); MonthlyOccurrences = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryRecurrenceSchedule. @@ -30,7 +31,7 @@ public DataFactoryRecurrenceSchedule() /// The month days. /// The monthly occurrences. /// Additional Properties. - internal DataFactoryRecurrenceSchedule(IList minutes, IList hours, IList weekDays, IList monthDays, IList monthlyOccurrences, IDictionary additionalProperties) + internal DataFactoryRecurrenceSchedule(IList minutes, IList hours, IList weekDays, IList monthDays, IList monthlyOccurrences, IDictionary> additionalProperties) { Minutes = minutes; Hours = hours; @@ -80,6 +81,6 @@ internal DataFactoryRecurrenceSchedule(IList minutes, IList hours, ILi /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.Serialization.cs index 1244e2eb..f3e8b26d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -45,8 +46,8 @@ internal static DataFactoryRecurrenceScheduleOccurrence DeserializeDataFactoryRe } Optional day = default; Optional occurrence = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("day"u8)) @@ -67,7 +68,7 @@ internal static DataFactoryRecurrenceScheduleOccurrence DeserializeDataFactoryRe occurrence = property.Value.GetInt32(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryRecurrenceScheduleOccurrence(Optional.ToNullable(day), Optional.ToNullable(occurrence), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.cs index b093f1f6..b9a0af02 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryRecurrenceScheduleOccurrence.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,14 +16,14 @@ public partial class DataFactoryRecurrenceScheduleOccurrence /// Initializes a new instance of DataFactoryRecurrenceScheduleOccurrence. public DataFactoryRecurrenceScheduleOccurrence() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryRecurrenceScheduleOccurrence. /// The day of the week. /// The occurrence. /// Additional Properties. - internal DataFactoryRecurrenceScheduleOccurrence(DataFactoryDayOfWeek? day, int? occurrence, IDictionary additionalProperties) + internal DataFactoryRecurrenceScheduleOccurrence(DataFactoryDayOfWeek? day, int? occurrence, IDictionary> additionalProperties) { Day = day; Occurrence = occurrence; @@ -63,6 +64,6 @@ internal DataFactoryRecurrenceScheduleOccurrence(DataFactoryDayOfWeek? day, int? /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.Serialization.cs index c0669171..094fbcd0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -80,8 +81,8 @@ internal static DataFactoryScheduleTrigger DeserializeDataFactoryScheduleTrigger Optional runtimeState = default; Optional> annotations = default; ScheduleTriggerRecurrence recurrence = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelines"u8)) @@ -155,7 +156,7 @@ internal static DataFactoryScheduleTrigger DeserializeDataFactoryScheduleTrigger } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryScheduleTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, Optional.ToList(pipelines), recurrence); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.cs index 7690bb3e..cbf2876e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScheduleTrigger.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -31,7 +32,7 @@ public DataFactoryScheduleTrigger(ScheduleTriggerRecurrence recurrence) /// Additional Properties. /// Pipelines that need to be started. /// Recurrence schedule configuration. - internal DataFactoryScheduleTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, IList pipelines, ScheduleTriggerRecurrence recurrence) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) + internal DataFactoryScheduleTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, IList pipelines, ScheduleTriggerRecurrence recurrence) : base(triggerType, description, runtimeState, annotations, additionalProperties, pipelines) { Recurrence = recurrence; TriggerType = triggerType ?? "ScheduleTrigger"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.Serialization.cs index 008fa072..5fca4933 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.Serialization.cs @@ -118,8 +118,8 @@ internal static DataFactoryScriptActivity DeserializeDataFactoryScriptActivity(J Optional> scriptBlockExecutionTimeout = default; Optional> scripts = default; Optional logSettings = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -245,7 +245,7 @@ internal static DataFactoryScriptActivity DeserializeDataFactoryScriptActivity(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryScriptActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, scriptBlockExecutionTimeout.Value, Optional.ToList(scripts), logSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.cs index d1ca8b6f..89180969 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryScriptActivity.cs @@ -38,7 +38,7 @@ public DataFactoryScriptActivity(string name) : base(name) /// ScriptBlock execution timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Array of script blocks. Type: array. /// Log settings of script activity. - internal DataFactoryScriptActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement scriptBlockExecutionTimeout, IList scripts, ScriptActivityTypeLogSettings logSettings) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal DataFactoryScriptActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement scriptBlockExecutionTimeout, IList scripts, ScriptActivityTypeLogSettings logSettings) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { ScriptBlockExecutionTimeout = scriptBlockExecutionTimeout; Scripts = scripts; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerProperties.cs index 3ea97e0f..669754ff 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -20,7 +21,7 @@ public partial class DataFactoryTriggerProperties public DataFactoryTriggerProperties() { Annotations = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryTriggerProperties. @@ -29,7 +30,7 @@ public DataFactoryTriggerProperties() /// Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. /// List of tags that can be used for describing the trigger. /// Additional Properties. - internal DataFactoryTriggerProperties(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties) + internal DataFactoryTriggerProperties(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties) { TriggerType = triggerType; Description = description; @@ -105,6 +106,6 @@ internal DataFactoryTriggerProperties(string triggerType, string description, Da /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.Serialization.cs index 614b7621..89f58560 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -27,9 +28,9 @@ internal static DataFactoryTriggerRun DeserializeDataFactoryTriggerRun(JsonEleme Optional> properties = default; Optional> triggeredPipelines = default; Optional> runDimension = default; - Optional> dependencyStatus = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> dependencyStatus = default; + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("triggerRunId"u8)) @@ -118,7 +119,7 @@ internal static DataFactoryTriggerRun DeserializeDataFactoryTriggerRun(JsonEleme { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -127,13 +128,13 @@ internal static DataFactoryTriggerRun DeserializeDataFactoryTriggerRun(JsonEleme } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } dependencyStatus = dictionary; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFactoryTriggerRun(triggerRunId.Value, triggerName.Value, triggerType.Value, Optional.ToNullable(triggerRunTimestamp), Optional.ToNullable(status), message.Value, Optional.ToDictionary(properties), Optional.ToDictionary(triggeredPipelines), Optional.ToDictionary(runDimension), Optional.ToDictionary(dependencyStatus), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.cs index f83ff7de..d2273f22 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFactoryTriggerRun.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -18,8 +19,8 @@ internal DataFactoryTriggerRun() Properties = new ChangeTrackingDictionary(); TriggeredPipelines = new ChangeTrackingDictionary(); RunDimension = new ChangeTrackingDictionary(); - DependencyStatus = new ChangeTrackingDictionary(); - AdditionalProperties = new ChangeTrackingDictionary(); + DependencyStatus = new ChangeTrackingDictionary>(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryTriggerRun. @@ -34,7 +35,7 @@ internal DataFactoryTriggerRun() /// Run dimension for which trigger was fired. /// Status of the upstream pipelines. /// Additional Properties. - internal DataFactoryTriggerRun(string triggerRunId, string triggerName, string triggerType, DateTimeOffset? triggerRunTimestamp, DataFactoryTriggerRunStatus? status, string message, IReadOnlyDictionary properties, IReadOnlyDictionary triggeredPipelines, IReadOnlyDictionary runDimension, IReadOnlyDictionary dependencyStatus, IReadOnlyDictionary additionalProperties) + internal DataFactoryTriggerRun(string triggerRunId, string triggerName, string triggerType, DateTimeOffset? triggerRunTimestamp, DataFactoryTriggerRunStatus? status, string message, IReadOnlyDictionary properties, IReadOnlyDictionary triggeredPipelines, IReadOnlyDictionary runDimension, IReadOnlyDictionary> dependencyStatus, IReadOnlyDictionary> additionalProperties) { TriggerRunId = triggerRunId; TriggerName = triggerName; @@ -97,7 +98,7 @@ internal DataFactoryTriggerRun(string triggerRunId, string triggerName, string t /// /// /// - public IReadOnlyDictionary DependencyStatus { get; } + public IReadOnlyDictionary> DependencyStatus { get; } /// /// Additional Properties /// @@ -128,6 +129,6 @@ internal DataFactoryTriggerRun(string triggerRunId, string triggerName, string t /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugPackageDebugSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugPackageDebugSettings.cs index b417b859..22c5fe8c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugPackageDebugSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugPackageDebugSettings.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class DataFlowDebugPackageDebugSettings public DataFlowDebugPackageDebugSettings() { SourceSettings = new ChangeTrackingList(); - Parameters = new ChangeTrackingDictionary(); + Parameters = new ChangeTrackingDictionary>(); } /// Source setting for data flow debug. @@ -51,7 +52,7 @@ public DataFlowDebugPackageDebugSettings() /// /// /// - public IDictionary Parameters { get; } + public IDictionary> Parameters { get; } /// /// Parameters for dataset. /// diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.Serialization.cs index a52b7795..e0a16eff 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -27,8 +28,8 @@ internal static DataFlowDebugSessionInfo DeserializeDataFlowDebugSessionInfo(Jso Optional startTime = default; Optional timeToLiveInMinutes = default; Optional lastActivityTime = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("dataFlowName"u8)) @@ -100,7 +101,7 @@ internal static DataFlowDebugSessionInfo DeserializeDataFlowDebugSessionInfo(Jso lastActivityTime = property.Value.GetDateTimeOffset("O"); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFlowDebugSessionInfo(dataFlowName.Value, computeType.Value, Optional.ToNullable(coreCount), Optional.ToNullable(nodeCount), integrationRuntimeName.Value, Optional.ToNullable(sessionId), Optional.ToNullable(startTime), Optional.ToNullable(timeToLiveInMinutes), Optional.ToNullable(lastActivityTime), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.cs index 4fe4c5a0..9c6a1c04 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowDebugSessionInfo.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class DataFlowDebugSessionInfo /// Initializes a new instance of DataFlowDebugSessionInfo. internal DataFlowDebugSessionInfo() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFlowDebugSessionInfo. @@ -29,7 +30,7 @@ internal DataFlowDebugSessionInfo() /// Compute type of the cluster. /// Last activity time of data flow debug session. /// Additional Properties. - internal DataFlowDebugSessionInfo(string dataFlowName, string computeType, int? coreCount, int? nodeCount, string integrationRuntimeName, Guid? sessionId, DateTimeOffset? startOn, int? timeToLiveInMinutes, DateTimeOffset? lastActivityOn, IReadOnlyDictionary additionalProperties) + internal DataFlowDebugSessionInfo(string dataFlowName, string computeType, int? coreCount, int? nodeCount, string integrationRuntimeName, Guid? sessionId, DateTimeOffset? startOn, int? timeToLiveInMinutes, DateTimeOffset? lastActivityOn, IReadOnlyDictionary> additionalProperties) { DataFlowName = dataFlowName; ComputeType = computeType; @@ -91,6 +92,6 @@ internal DataFlowDebugSessionInfo(string dataFlowName, string computeType, int? /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.Serialization.cs index 8f805d77..9044acf0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -69,9 +70,9 @@ internal static DataFlowReference DeserializeDataFlowReference(JsonElement eleme DataFlowReferenceType type = default; string referenceName = default; Optional datasetParameters = default; - Optional> parameters = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> parameters = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -99,7 +100,7 @@ internal static DataFlowReference DeserializeDataFlowReference(JsonElement eleme { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -108,13 +109,13 @@ internal static DataFlowReference DeserializeDataFlowReference(JsonElement eleme } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } parameters = dictionary; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataFlowReference(type, referenceName, datasetParameters.Value, Optional.ToDictionary(parameters), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.cs index dc6b9a04..965ca861 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowReference.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -22,8 +23,8 @@ public DataFlowReference(DataFlowReferenceType referenceType, string referenceNa ReferenceType = referenceType; ReferenceName = referenceName; - Parameters = new ChangeTrackingDictionary(); - AdditionalProperties = new ChangeTrackingDictionary(); + Parameters = new ChangeTrackingDictionary>(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFlowReference. @@ -32,7 +33,7 @@ public DataFlowReference(DataFlowReferenceType referenceType, string referenceNa /// Reference data flow parameters from dataset. /// Data flow parameters. /// Additional Properties. - internal DataFlowReference(DataFlowReferenceType referenceType, string referenceName, BinaryData datasetParameters, IDictionary parameters, IDictionary additionalProperties) + internal DataFlowReference(DataFlowReferenceType referenceType, string referenceName, BinaryData datasetParameters, IDictionary> parameters, IDictionary> additionalProperties) { ReferenceType = referenceType; ReferenceName = referenceName; @@ -106,7 +107,7 @@ internal DataFlowReference(DataFlowReferenceType referenceType, string reference /// /// /// - public IDictionary Parameters { get; } + public IDictionary> Parameters { get; } /// /// Additional Properties /// @@ -137,6 +138,6 @@ internal DataFlowReference(DataFlowReferenceType referenceType, string reference /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowSourceSetting.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowSourceSetting.cs index 5d53d40b..3f194de0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowSourceSetting.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataFlowSourceSetting.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class DataFlowSourceSetting /// Initializes a new instance of DataFlowSourceSetting. public DataFlowSourceSetting() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// The data flow source name. @@ -52,6 +53,6 @@ public DataFlowSourceSetting() /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.Serialization.cs index 73d5a380..95b89933 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.Serialization.cs @@ -142,11 +142,11 @@ internal static DataLakeAnalyticsUsqlActivity DeserializeDataLakeAnalyticsUsqlAc DataFactoryLinkedServiceReference scriptLinkedService = default; Optional> degreeOfParallelism = default; Optional> priority = default; - Optional> parameters = default; + Optional>> parameters = default; Optional> runtimeVersion = default; Optional> compilationMode = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -271,7 +271,7 @@ internal static DataLakeAnalyticsUsqlActivity DeserializeDataLakeAnalyticsUsqlAc { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -280,7 +280,7 @@ internal static DataLakeAnalyticsUsqlActivity DeserializeDataLakeAnalyticsUsqlAc } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } parameters = dictionary; @@ -307,7 +307,7 @@ internal static DataLakeAnalyticsUsqlActivity DeserializeDataLakeAnalyticsUsqlAc } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataLakeAnalyticsUsqlActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, scriptPath, scriptLinkedService, degreeOfParallelism.Value, priority.Value, Optional.ToDictionary(parameters), runtimeVersion.Value, compilationMode.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.cs index 99f51512..e3f27c31 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataLakeAnalyticsUsqlActivity.cs @@ -26,7 +26,7 @@ public DataLakeAnalyticsUsqlActivity(string name, DataFactoryElement scr ScriptPath = scriptPath; ScriptLinkedService = scriptLinkedService; - Parameters = new ChangeTrackingDictionary(); + Parameters = new ChangeTrackingDictionary>(); ActivityType = "DataLakeAnalyticsU-SQL"; } @@ -48,7 +48,7 @@ public DataLakeAnalyticsUsqlActivity(string name, DataFactoryElement scr /// Parameters for U-SQL job request. /// Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). /// Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). - internal DataLakeAnalyticsUsqlActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, DataFactoryElement degreeOfParallelism, DataFactoryElement priority, IDictionary parameters, DataFactoryElement runtimeVersion, DataFactoryElement compilationMode) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal DataLakeAnalyticsUsqlActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, DataFactoryElement degreeOfParallelism, DataFactoryElement priority, IDictionary> parameters, DataFactoryElement runtimeVersion, DataFactoryElement compilationMode) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { ScriptPath = scriptPath; ScriptLinkedService = scriptLinkedService; @@ -98,7 +98,7 @@ internal DataLakeAnalyticsUsqlActivity(string name, string activityType, string /// /// /// - public IDictionary Parameters { get; } + public IDictionary> Parameters { get; } /// Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). public DataFactoryElement RuntimeVersion { get; set; } /// Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.Serialization.cs index 5935e244..5f557a54 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.Serialization.cs @@ -148,10 +148,10 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity Optional> dependsOn = default; Optional> userProperties = default; DataFactoryElement notebookPath = default; - Optional> baseParameters = default; - Optional>> libraries = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> baseParameters = default; + Optional>>> libraries = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -253,7 +253,7 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -262,7 +262,7 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } baseParameters = dictionary; @@ -274,7 +274,7 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity { continue; } - List> array = new List>(); + List>> array = new List>>(); foreach (var item in property0.Value.EnumerateArray()) { if (item.ValueKind == JsonValueKind.Null) @@ -283,7 +283,7 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity } else { - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in item.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -292,7 +292,7 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } array.Add(dictionary); @@ -304,7 +304,7 @@ internal static DatabricksNotebookActivity DeserializeDatabricksNotebookActivity } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatabricksNotebookActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, notebookPath, Optional.ToDictionary(baseParameters), Optional.ToList(libraries)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.cs index e73209a4..7ea957ba 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksNotebookActivity.cs @@ -23,8 +23,8 @@ public DatabricksNotebookActivity(string name, DataFactoryElement notebo Argument.AssertNotNull(notebookPath, nameof(notebookPath)); NotebookPath = notebookPath; - BaseParameters = new ChangeTrackingDictionary(); - Libraries = new ChangeTrackingList>(); + BaseParameters = new ChangeTrackingDictionary>(); + Libraries = new ChangeTrackingList>>(); ActivityType = "DatabricksNotebook"; } @@ -42,7 +42,7 @@ public DatabricksNotebookActivity(string name, DataFactoryElement notebo /// The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). /// Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. /// A list of libraries to be installed on the cluster that will execute the job. - internal DatabricksNotebookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement notebookPath, IDictionary baseParameters, IList> libraries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal DatabricksNotebookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement notebookPath, IDictionary> baseParameters, IList>> libraries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { NotebookPath = notebookPath; BaseParameters = baseParameters; @@ -82,8 +82,8 @@ internal DatabricksNotebookActivity(string name, string activityType, string des /// /// /// - public IDictionary BaseParameters { get; } + public IDictionary> BaseParameters { get; } /// A list of libraries to be installed on the cluster that will execute the job. - public IList> Libraries { get; } + public IList>> Libraries { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.Serialization.cs index b8bac663..00b1c689 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.Serialization.cs @@ -148,9 +148,9 @@ internal static DatabricksSparkJarActivity DeserializeDatabricksSparkJarActivity Optional> userProperties = default; DataFactoryElement mainClassName = default; Optional> parameters = default; - Optional>> libraries = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>>> libraries = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -273,7 +273,7 @@ internal static DatabricksSparkJarActivity DeserializeDatabricksSparkJarActivity { continue; } - List> array = new List>(); + List>> array = new List>>(); foreach (var item in property0.Value.EnumerateArray()) { if (item.ValueKind == JsonValueKind.Null) @@ -282,7 +282,7 @@ internal static DatabricksSparkJarActivity DeserializeDatabricksSparkJarActivity } else { - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in item.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -291,7 +291,7 @@ internal static DatabricksSparkJarActivity DeserializeDatabricksSparkJarActivity } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } array.Add(dictionary); @@ -303,7 +303,7 @@ internal static DatabricksSparkJarActivity DeserializeDatabricksSparkJarActivity } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatabricksSparkJarActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, mainClassName, Optional.ToList(parameters), Optional.ToList(libraries)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.cs index 547ebe6e..b831f48e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkJarActivity.cs @@ -24,7 +24,7 @@ public DatabricksSparkJarActivity(string name, DataFactoryElement mainCl MainClassName = mainClassName; Parameters = new ChangeTrackingList(); - Libraries = new ChangeTrackingList>(); + Libraries = new ChangeTrackingList>>(); ActivityType = "DatabricksSparkJar"; } @@ -42,7 +42,7 @@ public DatabricksSparkJarActivity(string name, DataFactoryElement mainCl /// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). /// Parameters that will be passed to the main method. /// A list of libraries to be installed on the cluster that will execute the job. - internal DatabricksSparkJarActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement mainClassName, IList parameters, IList> libraries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal DatabricksSparkJarActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement mainClassName, IList parameters, IList>> libraries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { MainClassName = mainClassName; Parameters = parameters; @@ -84,6 +84,6 @@ internal DatabricksSparkJarActivity(string name, string activityType, string des /// public IList Parameters { get; } /// A list of libraries to be installed on the cluster that will execute the job. - public IList> Libraries { get; } + public IList>> Libraries { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.Serialization.cs index 6ae09a78..f1c34c0f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.Serialization.cs @@ -148,9 +148,9 @@ internal static DatabricksSparkPythonActivity DeserializeDatabricksSparkPythonAc Optional> userProperties = default; DataFactoryElement pythonFile = default; Optional> parameters = default; - Optional>> libraries = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>>> libraries = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -273,7 +273,7 @@ internal static DatabricksSparkPythonActivity DeserializeDatabricksSparkPythonAc { continue; } - List> array = new List>(); + List>> array = new List>>(); foreach (var item in property0.Value.EnumerateArray()) { if (item.ValueKind == JsonValueKind.Null) @@ -282,7 +282,7 @@ internal static DatabricksSparkPythonActivity DeserializeDatabricksSparkPythonAc } else { - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in item.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -291,7 +291,7 @@ internal static DatabricksSparkPythonActivity DeserializeDatabricksSparkPythonAc } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } array.Add(dictionary); @@ -303,7 +303,7 @@ internal static DatabricksSparkPythonActivity DeserializeDatabricksSparkPythonAc } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatabricksSparkPythonActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, pythonFile, Optional.ToList(parameters), Optional.ToList(libraries)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.cs index d1c041c6..8e164772 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatabricksSparkPythonActivity.cs @@ -24,7 +24,7 @@ public DatabricksSparkPythonActivity(string name, DataFactoryElement pyt PythonFile = pythonFile; Parameters = new ChangeTrackingList(); - Libraries = new ChangeTrackingList>(); + Libraries = new ChangeTrackingList>>(); ActivityType = "DatabricksSparkPython"; } @@ -42,7 +42,7 @@ public DatabricksSparkPythonActivity(string name, DataFactoryElement pyt /// The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). /// Command line parameters that will be passed to the Python file. /// A list of libraries to be installed on the cluster that will execute the job. - internal DatabricksSparkPythonActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement pythonFile, IList parameters, IList> libraries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal DatabricksSparkPythonActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement pythonFile, IList parameters, IList>> libraries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { PythonFile = pythonFile; Parameters = parameters; @@ -84,6 +84,6 @@ internal DatabricksSparkPythonActivity(string name, string activityType, string /// public IList Parameters { get; } /// A list of libraries to be installed on the cluster that will execute the job. - public IList> Libraries { get; } + public IList>> Libraries { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.Serialization.cs index f9393ad8..a8ba19a7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.Serialization.cs @@ -49,8 +49,8 @@ internal static DatasetAvroFormat DeserializeDatasetAvroFormat(JsonElement eleme string type = default; Optional> serializer = default; Optional> deserializer = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static DatasetAvroFormat DeserializeDatasetAvroFormat(JsonElement eleme deserializer = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetAvroFormat(type, serializer.Value, deserializer.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.cs index a9739298..9ac604b0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetAvroFormat.cs @@ -23,7 +23,7 @@ public DatasetAvroFormat() /// Serializer. Type: string (or Expression with resultType string). /// Deserializer. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetAvroFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) + internal DatasetAvroFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) { DatasetStorageFormatType = datasetStorageFormatType ?? "AvroFormat"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.Serialization.cs index 506ab6d6..10426ea8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.Serialization.cs @@ -43,8 +43,8 @@ internal static DatasetCompression DeserializeDatasetCompression(JsonElement ele } DataFactoryElement type = default; Optional> level = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -61,7 +61,7 @@ internal static DatasetCompression DeserializeDatasetCompression(JsonElement ele level = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetCompression(type, level.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.cs index 6d706b72..19d180fd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetCompression.cs @@ -21,14 +21,14 @@ public DatasetCompression(DataFactoryElement datasetCompressionType) Argument.AssertNotNull(datasetCompressionType, nameof(datasetCompressionType)); DatasetCompressionType = datasetCompressionType; - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DatasetCompression. /// Type of dataset compression. Type: string (or Expression with resultType string). /// The dataset compression level. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetCompression(DataFactoryElement datasetCompressionType, DataFactoryElement level, IDictionary additionalProperties) + internal DatasetCompression(DataFactoryElement datasetCompressionType, DataFactoryElement level, IDictionary> additionalProperties) { DatasetCompressionType = datasetCompressionType; Level = level; @@ -69,6 +69,6 @@ internal DatasetCompression(DataFactoryElement datasetCompressionType, D /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.Serialization.cs index b48570f3..036ab644 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.Serialization.cs @@ -87,8 +87,8 @@ internal static DatasetJsonFormat DeserializeDatasetJsonFormat(JsonElement eleme string type = default; Optional> serializer = default; Optional> deserializer = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("filePattern"u8)) @@ -159,7 +159,7 @@ internal static DatasetJsonFormat DeserializeDatasetJsonFormat(JsonElement eleme deserializer = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetJsonFormat(type, serializer.Value, deserializer.Value, additionalProperties, filePattern.Value, nestingSeparator.Value, encodingName.Value, jsonNodeReference.Value, jsonPathDefinition.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.cs index c29daadf..d5cf2cb3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetJsonFormat.cs @@ -28,7 +28,7 @@ public DatasetJsonFormat() /// The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string). /// The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). /// The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object). - internal DatasetJsonFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties, BinaryData filePattern, DataFactoryElement nestingSeparator, DataFactoryElement encodingName, DataFactoryElement jsonNodeReference, BinaryData jsonPathDefinition) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) + internal DatasetJsonFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties, BinaryData filePattern, DataFactoryElement nestingSeparator, DataFactoryElement encodingName, DataFactoryElement jsonNodeReference, BinaryData jsonPathDefinition) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) { FilePattern = filePattern; NestingSeparator = nestingSeparator; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetLocation.cs index d55e34a5..15b26c69 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetLocation.cs @@ -20,7 +20,7 @@ public partial class DatasetLocation /// Initializes a new instance of DatasetLocation. public DatasetLocation() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DatasetLocation. @@ -28,7 +28,7 @@ public DatasetLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) + internal DatasetLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) { DatasetLocationType = datasetLocationType; FolderPath = folderPath; @@ -72,6 +72,6 @@ internal DatasetLocation(string datasetLocationType, DataFactoryElement /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.Serialization.cs index 9b49dbc2..c2714d41 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.Serialization.cs @@ -49,8 +49,8 @@ internal static DatasetOrcFormat DeserializeDatasetOrcFormat(JsonElement element string type = default; Optional> serializer = default; Optional> deserializer = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static DatasetOrcFormat DeserializeDatasetOrcFormat(JsonElement element deserializer = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetOrcFormat(type, serializer.Value, deserializer.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.cs index 49f1f809..13d6d179 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetOrcFormat.cs @@ -23,7 +23,7 @@ public DatasetOrcFormat() /// Serializer. Type: string (or Expression with resultType string). /// Deserializer. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetOrcFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) + internal DatasetOrcFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) { DatasetStorageFormatType = datasetStorageFormatType ?? "OrcFormat"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.Serialization.cs index fe7454ad..f69e3934 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.Serialization.cs @@ -49,8 +49,8 @@ internal static DatasetParquetFormat DeserializeDatasetParquetFormat(JsonElement string type = default; Optional> serializer = default; Optional> deserializer = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static DatasetParquetFormat DeserializeDatasetParquetFormat(JsonElement deserializer = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetParquetFormat(type, serializer.Value, deserializer.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.cs index 9fd9023c..e2f21f17 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetParquetFormat.cs @@ -23,7 +23,7 @@ public DatasetParquetFormat() /// Serializer. Type: string (or Expression with resultType string). /// Deserializer. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetParquetFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) + internal DatasetParquetFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) { DatasetStorageFormatType = datasetStorageFormatType ?? "ParquetFormat"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.Serialization.cs index a473e1f7..8f902c33 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -50,7 +51,7 @@ internal static DatasetReference DeserializeDatasetReference(JsonElement element } DatasetReferenceType type = default; string referenceName = default; - Optional> parameters = default; + Optional>> parameters = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -69,7 +70,7 @@ internal static DatasetReference DeserializeDatasetReference(JsonElement element { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -78,7 +79,7 @@ internal static DatasetReference DeserializeDatasetReference(JsonElement element } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } parameters = dictionary; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.cs index c91db257..89d16110 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetReference.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -22,14 +23,14 @@ public DatasetReference(DatasetReferenceType referenceType, string referenceName ReferenceType = referenceType; ReferenceName = referenceName; - Parameters = new ChangeTrackingDictionary(); + Parameters = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DatasetReference. /// Dataset reference type. /// Reference dataset name. /// Arguments for dataset. - internal DatasetReference(DatasetReferenceType referenceType, string referenceName, IDictionary parameters) + internal DatasetReference(DatasetReferenceType referenceType, string referenceName, IDictionary> parameters) { ReferenceType = referenceType; ReferenceName = referenceName; @@ -70,6 +71,6 @@ internal DatasetReference(DatasetReferenceType referenceType, string referenceNa /// /// /// - public IDictionary Parameters { get; } + public IDictionary> Parameters { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.Serialization.cs index cd99a6d3..f035cfb7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.Serialization.cs @@ -48,8 +48,8 @@ internal static DatasetSchemaDataElement DeserializeDatasetSchemaDataElement(Jso } Optional> name = default; Optional> type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -70,7 +70,7 @@ internal static DatasetSchemaDataElement DeserializeDatasetSchemaDataElement(Jso type = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetSchemaDataElement(name.Value, type.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.cs index 87ef51d1..14873486 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetSchemaDataElement.cs @@ -16,14 +16,14 @@ public partial class DatasetSchemaDataElement /// Initializes a new instance of DatasetSchemaDataElement. public DatasetSchemaDataElement() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DatasetSchemaDataElement. /// Name of the schema column. Type: string (or Expression with resultType string). /// Type of the schema column. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetSchemaDataElement(DataFactoryElement schemaColumnName, DataFactoryElement schemaColumnType, IDictionary additionalProperties) + internal DatasetSchemaDataElement(DataFactoryElement schemaColumnName, DataFactoryElement schemaColumnType, IDictionary> additionalProperties) { SchemaColumnName = schemaColumnName; SchemaColumnType = schemaColumnType; @@ -64,6 +64,6 @@ internal DatasetSchemaDataElement(DataFactoryElement schemaColumnName, D /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetStorageFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetStorageFormat.cs index fb243a3b..8e0073c8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetStorageFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetStorageFormat.cs @@ -20,7 +20,7 @@ public partial class DatasetStorageFormat /// Initializes a new instance of DatasetStorageFormat. public DatasetStorageFormat() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DatasetStorageFormat. @@ -28,7 +28,7 @@ public DatasetStorageFormat() /// Serializer. Type: string (or Expression with resultType string). /// Deserializer. Type: string (or Expression with resultType string). /// Additional Properties. - internal DatasetStorageFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties) + internal DatasetStorageFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties) { DatasetStorageFormatType = datasetStorageFormatType; Serializer = serializer; @@ -72,6 +72,6 @@ internal DatasetStorageFormat(string datasetStorageFormatType, DataFactoryElemen /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.Serialization.cs index 49efc72e..8f998e2f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.Serialization.cs @@ -103,8 +103,8 @@ internal static DatasetTextFormat DeserializeDatasetTextFormat(JsonElement eleme string type = default; Optional> serializer = default; Optional> deserializer = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("columnDelimiter"u8)) @@ -211,7 +211,7 @@ internal static DatasetTextFormat DeserializeDatasetTextFormat(JsonElement eleme deserializer = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DatasetTextFormat(type, serializer.Value, deserializer.Value, additionalProperties, columnDelimiter.Value, rowDelimiter.Value, escapeChar.Value, quoteChar.Value, nullValue.Value, encodingName.Value, treatEmptyAsNull.Value, skipLineCount.Value, firstRowAsHeader.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.cs index df3e80a4..85ea5780 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DatasetTextFormat.cs @@ -32,7 +32,7 @@ public DatasetTextFormat() /// Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). /// The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). /// When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). - internal DatasetTextFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties, DataFactoryElement columnDelimiter, DataFactoryElement rowDelimiter, DataFactoryElement escapeChar, DataFactoryElement quoteChar, DataFactoryElement nullValue, DataFactoryElement encodingName, DataFactoryElement treatEmptyAsNull, DataFactoryElement skipLineCount, DataFactoryElement firstRowAsHeader) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) + internal DatasetTextFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties, DataFactoryElement columnDelimiter, DataFactoryElement rowDelimiter, DataFactoryElement escapeChar, DataFactoryElement quoteChar, DataFactoryElement nullValue, DataFactoryElement encodingName, DataFactoryElement treatEmptyAsNull, DataFactoryElement skipLineCount, DataFactoryElement firstRowAsHeader) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) { ColumnDelimiter = columnDelimiter; RowDelimiter = rowDelimiter; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.Serialization.cs index 0e36b03a..1b226892 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.Serialization.cs @@ -92,8 +92,8 @@ internal static DataworldLinkedService DeserializeDataworldLinkedService(JsonEle Optional> annotations = default; DataFactorySecretBaseDefinition apiToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -172,7 +172,7 @@ internal static DataworldLinkedService DeserializeDataworldLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DataworldLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, apiToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.cs index 9ac3fe57..e05ff323 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DataworldLinkedService.cs @@ -33,7 +33,7 @@ public DataworldLinkedService(DataFactorySecretBaseDefinition apiToken) /// Additional Properties. /// The api token for the Dataworld source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal DataworldLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal DataworldLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ApiToken = apiToken; EncryptedCredential = encryptedCredential; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.Serialization.cs index 7a16afad..a8360e94 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.Serialization.cs @@ -138,8 +138,8 @@ internal static Db2LinkedService DeserializeDb2LinkedService(JsonElement element Optional> packageCollection = default; Optional> certificateCommonName = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -285,7 +285,7 @@ internal static Db2LinkedService DeserializeDb2LinkedService(JsonElement element } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Db2LinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, server.Value, database.Value, Optional.ToNullable(authenticationType), username.Value, password, packageCollection.Value, certificateCommonName.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.cs index 3db5a227..93c6e53a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2LinkedService.cs @@ -34,7 +34,7 @@ public Db2LinkedService() /// Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). /// Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string. - internal Db2LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement server, DataFactoryElement database, Db2AuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement packageCollection, DataFactoryElement certificateCommonName, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal Db2LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement server, DataFactoryElement database, Db2AuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement packageCollection, DataFactoryElement certificateCommonName, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Server = server; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.Serialization.cs index ca46638b..3ea8e516 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.Serialization.cs @@ -83,8 +83,8 @@ internal static Db2Source DeserializeDb2Source(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static Db2Source DeserializeDb2Source(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Db2Source(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.cs index c135f7b5..2d7b007c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2Source.cs @@ -28,7 +28,7 @@ public Db2Source() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal Db2Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal Db2Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "Db2Source"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.Serialization.cs index e0173618..10667fab 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static Db2TableDataset DeserializeDb2TableDataset(JsonElement element) Optional tableName = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static Db2TableDataset DeserializeDb2TableDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Db2TableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.cs index 846f88f5..eb0cb541 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Db2TableDataset.cs @@ -36,7 +36,7 @@ public Db2TableDataset(DataFactoryLinkedServiceReference linkedServiceName) : ba /// This property will be retired. Please consider using schema + table properties instead. /// The Db2 schema name. Type: string (or Expression with resultType string). /// The Db2 table name. Type: string (or Expression with resultType string). - internal Db2TableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal Db2TableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.Serialization.cs index a17a8411..e542e7fd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.Serialization.cs @@ -128,8 +128,8 @@ internal static DeleteActivity DeserializeDeleteActivity(JsonElement element) Optional logStorageSettings = default; DatasetReference dataset = default; Optional storeSettings = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -273,7 +273,7 @@ internal static DeleteActivity DeserializeDeleteActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DeleteActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, recursive.Value, Optional.ToNullable(maxConcurrentConnections), enableLogging.Value, logStorageSettings.Value, dataset, storeSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.cs index 23054e91..a1083c9c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DeleteActivity.cs @@ -47,7 +47,7 @@ public DeleteActivity(string name, DatasetReference dataset) : base(name) /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , , , , , , , , and . /// - internal DeleteActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement recursive, int? maxConcurrentConnections, DataFactoryElement enableLogging, LogStorageSettings logStorageSettings, DatasetReference dataset, StoreReadSettings storeSettings) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal DeleteActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement recursive, int? maxConcurrentConnections, DataFactoryElement enableLogging, LogStorageSettings logStorageSettings, DatasetReference dataset, StoreReadSettings storeSettings) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Recursive = recursive; MaxConcurrentConnections = maxConcurrentConnections; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.Serialization.cs index e8de2173..734a6857 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.Serialization.cs @@ -162,8 +162,8 @@ internal static DelimitedTextDataset DeserializeDelimitedTextDataset(JsonElement Optional> escapeChar = default; Optional> firstRowAsHeader = default; Optional> nullValue = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -345,7 +345,7 @@ internal static DelimitedTextDataset DeserializeDelimitedTextDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DelimitedTextDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, columnDelimiter.Value, rowDelimiter.Value, encodingName.Value, compressionCodec.Value, compressionLevel.Value, quoteChar.Value, escapeChar.Value, firstRowAsHeader.Value, nullValue.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.cs index 6f4a3f55..d3803efe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextDataset.cs @@ -47,7 +47,7 @@ public DelimitedTextDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The escape character. Type: string (or Expression with resultType string). /// When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). /// The null value string. Type: string (or Expression with resultType string). - internal DelimitedTextDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement columnDelimiter, DataFactoryElement rowDelimiter, DataFactoryElement encodingName, DataFactoryElement compressionCodec, BinaryData compressionLevel, DataFactoryElement quoteChar, DataFactoryElement escapeChar, DataFactoryElement firstRowAsHeader, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DelimitedTextDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement columnDelimiter, DataFactoryElement rowDelimiter, DataFactoryElement encodingName, DataFactoryElement compressionCodec, BinaryData compressionLevel, DataFactoryElement quoteChar, DataFactoryElement escapeChar, DataFactoryElement firstRowAsHeader, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; ColumnDelimiter = columnDelimiter; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.Serialization.cs index ce38cab8..9356d4a8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.Serialization.cs @@ -49,8 +49,8 @@ internal static DelimitedTextReadSettings DeserializeDelimitedTextReadSettings(J Optional> skipLineCount = default; Optional compressionProperties = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("skipLineCount"u8)) @@ -76,7 +76,7 @@ internal static DelimitedTextReadSettings DeserializeDelimitedTextReadSettings(J type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DelimitedTextReadSettings(type, additionalProperties, skipLineCount.Value, compressionProperties.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.cs index 79ed0c77..832348ec 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextReadSettings.cs @@ -27,7 +27,7 @@ public DelimitedTextReadSettings() /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// - internal DelimitedTextReadSettings(string formatReadSettingsType, IDictionary additionalProperties, DataFactoryElement skipLineCount, CompressionReadSettings compressionProperties) : base(formatReadSettingsType, additionalProperties) + internal DelimitedTextReadSettings(string formatReadSettingsType, IDictionary> additionalProperties, DataFactoryElement skipLineCount, CompressionReadSettings compressionProperties) : base(formatReadSettingsType, additionalProperties) { SkipLineCount = skipLineCount; CompressionProperties = compressionProperties; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.Serialization.cs index fbd387c8..0c4e6d1a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.Serialization.cs @@ -85,8 +85,8 @@ internal static DelimitedTextSink DeserializeDelimitedTextSink(JsonElement eleme Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -166,7 +166,7 @@ internal static DelimitedTextSink DeserializeDelimitedTextSink(JsonElement eleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DelimitedTextSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.cs index bb502886..00922090 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSink.cs @@ -33,7 +33,7 @@ public DelimitedTextSink() /// The available derived classes include , , , , and . /// /// DelimitedText format settings. - internal DelimitedTextSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreWriteSettings storeSettings, DelimitedTextWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DelimitedTextSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreWriteSettings storeSettings, DelimitedTextWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.Serialization.cs index 5e80c313..87965249 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.Serialization.cs @@ -83,8 +83,8 @@ internal static DelimitedTextSource DeserializeDelimitedTextSource(JsonElement e Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -155,7 +155,7 @@ internal static DelimitedTextSource DeserializeDelimitedTextSource(JsonElement e disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DelimitedTextSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.cs index ca424ecb..caef9e64 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextSource.cs @@ -32,7 +32,7 @@ public DelimitedTextSource() /// /// DelimitedText format settings. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal DelimitedTextSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, DelimitedTextReadSettings formatSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DelimitedTextSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, DelimitedTextReadSettings formatSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.Serialization.cs index f6551d59..dd0e526c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.Serialization.cs @@ -58,8 +58,8 @@ internal static DelimitedTextWriteSettings DeserializeDelimitedTextWriteSettings Optional> maxRowsPerFile = default; Optional> fileNamePrefix = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("quoteAllText"u8)) @@ -99,7 +99,7 @@ internal static DelimitedTextWriteSettings DeserializeDelimitedTextWriteSettings type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DelimitedTextWriteSettings(type, additionalProperties, quoteAllText.Value, fileExtension, maxRowsPerFile.Value, fileNamePrefix.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.cs index 53a0f53a..95e8f30e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DelimitedTextWriteSettings.cs @@ -31,7 +31,7 @@ public DelimitedTextWriteSettings(DataFactoryElement fileExtension) /// The file extension used to create the files. Type: string (or Expression with resultType string). /// Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). /// Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). - internal DelimitedTextWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties, DataFactoryElement quoteAllText, DataFactoryElement fileExtension, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) + internal DelimitedTextWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties, DataFactoryElement quoteAllText, DataFactoryElement fileExtension, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) { QuoteAllText = quoteAllText; FileExtension = fileExtension; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.Serialization.cs index 950993bb..032fee4a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static DocumentDBCollectionDataset DeserializeDocumentDBCollectionDatas Optional> annotations = default; Optional folder = default; DataFactoryElement collectionName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static DocumentDBCollectionDataset DeserializeDocumentDBCollectionDatas } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DocumentDBCollectionDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, collectionName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.cs index 9d213bcb..c2ceb55e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionDataset.cs @@ -37,7 +37,7 @@ public DocumentDBCollectionDataset(DataFactoryLinkedServiceReference linkedServi /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// Document Database collection name. Type: string (or Expression with resultType string). - internal DocumentDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DocumentDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { CollectionName = collectionName; DatasetType = datasetType ?? "DocumentDbCollection"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.Serialization.cs index bd19c724..d76727bf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.Serialization.cs @@ -85,8 +85,8 @@ internal static DocumentDBCollectionSink DeserializeDocumentDBCollectionSink(Jso Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("nestingSeparator"u8)) @@ -166,7 +166,7 @@ internal static DocumentDBCollectionSink DeserializeDocumentDBCollectionSink(Jso disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DocumentDBCollectionSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, nestingSeparator.Value, writeBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.cs index 2b9e8f73..ca783198 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSink.cs @@ -29,7 +29,7 @@ public DocumentDBCollectionSink() /// Additional Properties. /// Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). /// Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. - internal DocumentDBCollectionSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement nestingSeparator, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DocumentDBCollectionSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement nestingSeparator, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { NestingSeparator = nestingSeparator; WriteBehavior = writeBehavior; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.Serialization.cs index 02096519..25f74e8a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.Serialization.cs @@ -89,8 +89,8 @@ internal static DocumentDBCollectionSource DeserializeDocumentDBCollectionSource Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static DocumentDBCollectionSource DeserializeDocumentDBCollectionSource disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DocumentDBCollectionSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, nestingSeparator.Value, queryTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.cs index f3d01509..4375211a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DocumentDBCollectionSource.cs @@ -29,7 +29,7 @@ public DocumentDBCollectionSource() /// Nested properties separator. Type: string (or Expression with resultType string). /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal DocumentDBCollectionSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, DataFactoryElement nestingSeparator, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DocumentDBCollectionSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, DataFactoryElement nestingSeparator, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; NestingSeparator = nestingSeparator; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.Serialization.cs index 57265e31..1109f48a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static DrillLinkedService DeserializeDrillLinkedService(JsonElement ele Optional> connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static DrillLinkedService DeserializeDrillLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DrillLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.cs index 433b1057..ee7c4cc1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillLinkedService.cs @@ -28,7 +28,7 @@ public DrillLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal DrillLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal DrillLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.Serialization.cs index 30304865..b21c896a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.Serialization.cs @@ -83,8 +83,8 @@ internal static DrillSource DeserializeDrillSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static DrillSource DeserializeDrillSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DrillSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.cs index 6ab7393b..dc54cbd8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillSource.cs @@ -28,7 +28,7 @@ public DrillSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal DrillSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal DrillSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "DrillSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.Serialization.cs index a6b660b4..b54bcfc8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static DrillTableDataset DeserializeDrillTableDataset(JsonElement eleme Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static DrillTableDataset DeserializeDrillTableDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DrillTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.cs index 809cb5c7..3a77b978 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DrillTableDataset.cs @@ -36,7 +36,7 @@ public DrillTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Drill. Type: string (or Expression with resultType string). /// The schema name of the Drill. Type: string (or Expression with resultType string). - internal DrillTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DrillTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.Serialization.cs index de87a40c..6a5d0a9e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.Serialization.cs @@ -108,8 +108,8 @@ internal static DynamicsAXLinkedService DeserializeDynamicsAXLinkedService(JsonE DataFactoryElement tenant = default; DataFactoryElement aadResourceId = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -208,7 +208,7 @@ internal static DynamicsAXLinkedService DeserializeDynamicsAXLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsAXLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, servicePrincipalId, servicePrincipalKey, tenant, aadResourceId, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.cs index 0c02c51f..ee2812b7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXLinkedService.cs @@ -49,7 +49,7 @@ public DynamicsAXLinkedService(BinaryData uri, DataFactoryElement servic /// Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). /// Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal DynamicsAXLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData uri, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement aadResourceId, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal DynamicsAXLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData uri, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement aadResourceId, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; ServicePrincipalId = servicePrincipalId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.Serialization.cs index 7a77b012..3f3248bd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static DynamicsAXResourceDataset DeserializeDynamicsAXResourceDataset(J Optional> annotations = default; Optional folder = default; DataFactoryElement path = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static DynamicsAXResourceDataset DeserializeDynamicsAXResourceDataset(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsAXResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, path); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.cs index d97c60ad..bac63117 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXResourceDataset.cs @@ -37,7 +37,7 @@ public DynamicsAXResourceDataset(DataFactoryLinkedServiceReference linkedService /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). - internal DynamicsAXResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DynamicsAXResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "DynamicsAXResource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.Serialization.cs index 6dbb5ebe..e0225dcb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.Serialization.cs @@ -89,8 +89,8 @@ internal static DynamicsAXSource DeserializeDynamicsAXSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static DynamicsAXSource DeserializeDynamicsAXSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsAXSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, httpRequestTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.cs index 1aa1c9af..5f37dc36 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsAXSource.cs @@ -29,7 +29,7 @@ public DynamicsAXSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - internal DynamicsAXSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal DynamicsAXSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; HttpRequestTimeout = httpRequestTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs index 9e49c11e..a37e7cc0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static DynamicsCrmEntityDataset DeserializeDynamicsCrmEntityDataset(Jso Optional> annotations = default; Optional folder = default; Optional> entityName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static DynamicsCrmEntityDataset DeserializeDynamicsCrmEntityDataset(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsCrmEntityDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, entityName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.cs index 6df669b3..92a9b73a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmEntityDataset.cs @@ -34,7 +34,7 @@ public DynamicsCrmEntityDataset(DataFactoryLinkedServiceReference linkedServiceN /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The logical name of the entity. Type: string (or Expression with resultType string). - internal DynamicsCrmEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DynamicsCrmEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { EntityName = entityName; DatasetType = datasetType ?? "DynamicsCrmEntity"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.Serialization.cs index 8f51f3f9..154500de 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.Serialization.cs @@ -150,8 +150,8 @@ internal static DynamicsCrmLinkedService DeserializeDynamicsCrmLinkedService(Jso Optional> servicePrincipalCredentialType = default; Optional servicePrincipalCredential = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -316,7 +316,7 @@ internal static DynamicsCrmLinkedService DeserializeDynamicsCrmLinkedService(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsCrmLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, deploymentType, hostName.Value, port.Value, serviceUri.Value, organizationName.Value, authenticationType, username.Value, password, servicePrincipalId.Value, servicePrincipalCredentialType.Value, servicePrincipalCredential, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.cs index d150743b..f0453ebe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmLinkedService.cs @@ -46,7 +46,7 @@ public DynamicsCrmLinkedService(DataFactoryElement deploymentType, DataF /// The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). /// The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal DynamicsCrmLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement deploymentType, DataFactoryElement hostName, DataFactoryElement port, DataFactoryElement serviceUri, DataFactoryElement organizationName, DataFactoryElement authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal DynamicsCrmLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement deploymentType, DataFactoryElement hostName, DataFactoryElement port, DataFactoryElement serviceUri, DataFactoryElement organizationName, DataFactoryElement authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { DeploymentType = deploymentType; HostName = hostName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.Serialization.cs index 179742a5..b2c980f5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.Serialization.cs @@ -88,8 +88,8 @@ internal static DynamicsCrmSink DeserializeDynamicsCrmSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -174,7 +174,7 @@ internal static DynamicsCrmSink DeserializeDynamicsCrmSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsCrmSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior, ignoreNullValues.Value, alternateKeyName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.cs index f4df6a1d..5a76ae31 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSink.cs @@ -32,7 +32,7 @@ public DynamicsCrmSink(DynamicsSinkWriteBehavior writeBehavior) /// The write behavior for the operation. /// The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). /// The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). - internal DynamicsCrmSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DynamicsSinkWriteBehavior writeBehavior, DataFactoryElement ignoreNullValues, DataFactoryElement alternateKeyName) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DynamicsCrmSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DynamicsSinkWriteBehavior writeBehavior, DataFactoryElement ignoreNullValues, DataFactoryElement alternateKeyName) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; IgnoreNullValues = ignoreNullValues; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.Serialization.cs index f670d3a1..c7f20d6b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.Serialization.cs @@ -77,8 +77,8 @@ internal static DynamicsCrmSource DeserializeDynamicsCrmSource(JsonElement eleme Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -140,7 +140,7 @@ internal static DynamicsCrmSource DeserializeDynamicsCrmSource(JsonElement eleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsCrmSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.cs index 51a982b8..d5e75c28 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsCrmSource.cs @@ -27,7 +27,7 @@ public DynamicsCrmSource() /// Additional Properties. /// FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal DynamicsCrmSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DynamicsCrmSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.Serialization.cs index bb54f029..e7d00925 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static DynamicsEntityDataset DeserializeDynamicsEntityDataset(JsonEleme Optional> annotations = default; Optional folder = default; Optional> entityName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static DynamicsEntityDataset DeserializeDynamicsEntityDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsEntityDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, entityName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.cs index cff0ae95..a48e0ebe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsEntityDataset.cs @@ -34,7 +34,7 @@ public DynamicsEntityDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The logical name of the entity. Type: string (or Expression with resultType string). - internal DynamicsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DynamicsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { EntityName = entityName; DatasetType = datasetType ?? "DynamicsEntity"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.Serialization.cs index 72c7a7bb..e1b2cea9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.Serialization.cs @@ -156,8 +156,8 @@ internal static DynamicsLinkedService DeserializeDynamicsLinkedService(JsonEleme Optional servicePrincipalCredential = default; Optional encryptedCredential = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -331,7 +331,7 @@ internal static DynamicsLinkedService DeserializeDynamicsLinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, deploymentType, hostName.Value, port.Value, serviceUri.Value, organizationName.Value, authenticationType, username.Value, password, servicePrincipalId.Value, servicePrincipalCredentialType.Value, servicePrincipalCredential, encryptedCredential.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.cs index 5b7b14fa..2217adcc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsLinkedService.cs @@ -47,7 +47,7 @@ public DynamicsLinkedService(DataFactoryElement deploymentType, DataFact /// The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. - internal DynamicsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement deploymentType, DataFactoryElement hostName, DataFactoryElement port, DataFactoryElement serviceUri, DataFactoryElement organizationName, DataFactoryElement authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal DynamicsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement deploymentType, DataFactoryElement hostName, DataFactoryElement port, DataFactoryElement serviceUri, DataFactoryElement organizationName, DataFactoryElement authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement servicePrincipalId, DataFactoryElement servicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalCredential, string encryptedCredential, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { DeploymentType = deploymentType; HostName = hostName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.Serialization.cs index 79720f37..2409dab4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.Serialization.cs @@ -88,8 +88,8 @@ internal static DynamicsSink DeserializeDynamicsSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -174,7 +174,7 @@ internal static DynamicsSink DeserializeDynamicsSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior, ignoreNullValues.Value, alternateKeyName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.cs index 22c724be..0eadbb3e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSink.cs @@ -32,7 +32,7 @@ public DynamicsSink(DynamicsSinkWriteBehavior writeBehavior) /// The write behavior for the operation. /// The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). /// The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). - internal DynamicsSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DynamicsSinkWriteBehavior writeBehavior, DataFactoryElement ignoreNullValues, DataFactoryElement alternateKeyName) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DynamicsSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DynamicsSinkWriteBehavior writeBehavior, DataFactoryElement ignoreNullValues, DataFactoryElement alternateKeyName) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; IgnoreNullValues = ignoreNullValues; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.Serialization.cs index d9083ada..1caae9a9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.Serialization.cs @@ -77,8 +77,8 @@ internal static DynamicsSource DeserializeDynamicsSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -140,7 +140,7 @@ internal static DynamicsSource DeserializeDynamicsSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new DynamicsSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.cs index 7c913219..96106a31 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/DynamicsSource.cs @@ -27,7 +27,7 @@ public DynamicsSource() /// Additional Properties. /// FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal DynamicsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal DynamicsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.Serialization.cs index 3723d0a9..6e445d7f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static EloquaLinkedService DeserializeEloquaLinkedService(JsonElement e Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -241,7 +241,7 @@ internal static EloquaLinkedService DeserializeEloquaLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new EloquaLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, username, password, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.cs index 7ca988d6..11478ed4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaLinkedService.cs @@ -41,7 +41,7 @@ public EloquaLinkedService(DataFactoryElement endpoint, DataFactoryEleme /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal EloquaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement endpoint, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal EloquaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement endpoint, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.Serialization.cs index 5f3b757e..a7d6b51a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static EloquaObjectDataset DeserializeEloquaObjectDataset(JsonElement e Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static EloquaObjectDataset DeserializeEloquaObjectDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new EloquaObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.cs index 130151c6..f128f543 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaObjectDataset.cs @@ -34,7 +34,7 @@ public EloquaObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal EloquaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal EloquaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "EloquaObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.Serialization.cs index 3d0b075b..9e2b87b0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.Serialization.cs @@ -83,8 +83,8 @@ internal static EloquaSource DeserializeEloquaSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static EloquaSource DeserializeEloquaSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new EloquaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.cs index 435487bf..c182338f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/EloquaSource.cs @@ -28,7 +28,7 @@ public EloquaSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal EloquaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal EloquaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "EloquaSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.Serialization.cs index c7d75173..bd0e71a9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.Serialization.cs @@ -140,8 +140,8 @@ internal static ExcelDataset DeserializeExcelDataset(JsonElement element) Optional> firstRowAsHeader = default; Optional compression = default; Optional> nullValue = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -296,7 +296,7 @@ internal static ExcelDataset DeserializeExcelDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExcelDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, sheetName.Value, sheetIndex.Value, range.Value, firstRowAsHeader.Value, compression.Value, nullValue.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.cs index 2703bffa..3d9e42b2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelDataset.cs @@ -44,7 +44,7 @@ public ExcelDataset(DataFactoryLinkedServiceReference linkedServiceName) : base( /// When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). /// The data compression method used for the json dataset. /// The null value string. Type: string (or Expression with resultType string). - internal ExcelDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement sheetName, DataFactoryElement sheetIndex, DataFactoryElement range, DataFactoryElement firstRowAsHeader, DatasetCompression compression, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ExcelDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement sheetName, DataFactoryElement sheetIndex, DataFactoryElement range, DataFactoryElement firstRowAsHeader, DatasetCompression compression, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; SheetName = sheetName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.Serialization.cs index 29e0c6e4..2db99db4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.Serialization.cs @@ -77,8 +77,8 @@ internal static ExcelSource DeserializeExcelSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -140,7 +140,7 @@ internal static ExcelSource DeserializeExcelSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExcelSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.cs index 794b461a..61f8db7b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExcelSource.cs @@ -31,7 +31,7 @@ public ExcelSource() /// The available derived classes include , , , , , , , , , , , and . /// /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal ExcelSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal ExcelSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.Serialization.cs index 027c49f8..3b4ddbac 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.Serialization.cs @@ -140,8 +140,8 @@ internal static ExecuteDataFlowActivity DeserializeExecuteDataFlowActivity(JsonE Optional> continueOnError = default; Optional> runConcurrently = default; Optional> sourceStagingConcurrency = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -303,7 +303,7 @@ internal static ExecuteDataFlowActivity DeserializeExecuteDataFlowActivity(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExecuteDataFlowActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, dataFlow, staging.Value, integrationRuntime.Value, compute.Value, traceLevel.Value, continueOnError.Value, runConcurrently.Value, sourceStagingConcurrency.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.cs index 6044fc16..95f31248 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteDataFlowActivity.cs @@ -45,7 +45,7 @@ public ExecuteDataFlowActivity(string name, DataFlowReference dataFlow) : base(n /// Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean). /// Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean). /// Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer). - internal ExecuteDataFlowActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFlowReference dataFlow, DataFlowStagingInfo staging, IntegrationRuntimeReference integrationRuntime, ExecuteDataFlowActivityComputeType compute, DataFactoryElement traceLevel, DataFactoryElement continueOnError, DataFactoryElement runConcurrently, DataFactoryElement sourceStagingConcurrency) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal ExecuteDataFlowActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFlowReference dataFlow, DataFlowStagingInfo staging, IntegrationRuntimeReference integrationRuntime, ExecuteDataFlowActivityComputeType compute, DataFactoryElement traceLevel, DataFactoryElement continueOnError, DataFactoryElement runConcurrently, DataFactoryElement sourceStagingConcurrency) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { DataFlow = dataFlow; Staging = staging; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.Serialization.cs index eeef163a..5c01f94b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.Serialization.cs @@ -119,8 +119,8 @@ internal static ExecutePipelineActivity DeserializeExecutePipelineActivity(JsonE DataFactoryPipelineReference pipeline = default; Optional>> parameters = default; Optional waitOnCompletion = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("policy"u8)) @@ -240,7 +240,7 @@ internal static ExecutePipelineActivity DeserializeExecutePipelineActivity(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExecutePipelineActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, policy.Value, pipeline, Optional.ToDictionary(parameters), Optional.ToNullable(waitOnCompletion)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.cs index 2ec21716..c838994e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivity.cs @@ -40,7 +40,7 @@ public ExecutePipelineActivity(string name, DataFactoryPipelineReference pipelin /// Pipeline reference. /// Pipeline parameters. /// Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. - internal ExecutePipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, ExecutePipelineActivityPolicy policy, DataFactoryPipelineReference pipeline, IDictionary> parameters, bool? waitOnCompletion) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal ExecutePipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, ExecutePipelineActivityPolicy policy, DataFactoryPipelineReference pipeline, IDictionary> parameters, bool? waitOnCompletion) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Policy = policy; Pipeline = pipeline; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.Serialization.cs index 6c368e56..57c4a7be 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -39,8 +40,8 @@ internal static ExecutePipelineActivityPolicy DeserializeExecutePipelineActivity return null; } Optional secureInput = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("secureInput"u8)) @@ -52,7 +53,7 @@ internal static ExecutePipelineActivityPolicy DeserializeExecutePipelineActivity secureInput = property.Value.GetBoolean(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExecutePipelineActivityPolicy(Optional.ToNullable(secureInput), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.cs index 07e56f63..3074c71b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutePipelineActivityPolicy.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,13 +16,13 @@ public partial class ExecutePipelineActivityPolicy /// Initializes a new instance of ExecutePipelineActivityPolicy. public ExecutePipelineActivityPolicy() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ExecutePipelineActivityPolicy. /// When set to true, Input from activity is considered as secure and will not be logged to monitoring. /// Additional Properties. - internal ExecutePipelineActivityPolicy(bool? isSecureInputEnabled, IDictionary additionalProperties) + internal ExecutePipelineActivityPolicy(bool? isSecureInputEnabled, IDictionary> additionalProperties) { IsSecureInputEnabled = isSecureInputEnabled; AdditionalProperties = additionalProperties; @@ -59,6 +60,6 @@ internal ExecutePipelineActivityPolicy(bool? isSecureInputEnabled, IDictionary /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.Serialization.cs index 281eb3f1..25967555 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.Serialization.cs @@ -213,8 +213,8 @@ internal static ExecuteSsisPackageActivity DeserializeExecuteSsisPackageActivity Optional>> packageConnectionManagers = default; Optional> propertyOverrides = default; Optional logLocation = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -457,7 +457,7 @@ internal static ExecuteSsisPackageActivity DeserializeExecuteSsisPackageActivity } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExecuteSsisPackageActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, packageLocation, runtime.Value, loggingLevel.Value, environmentPath.Value, executionCredential.Value, connectVia, Optional.ToDictionary(projectParameters), Optional.ToDictionary(packageParameters), Optional.ToDictionary(projectConnectionManagers), Optional.ToDictionary(packageConnectionManagers), Optional.ToDictionary(propertyOverrides), logLocation.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.cs index 527b8c4a..19f9eafa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteSsisPackageActivity.cs @@ -57,7 +57,7 @@ public ExecuteSsisPackageActivity(string name, SsisPackageLocation packageLocati /// The package level connection managers to execute the SSIS package. /// The property overrides to execute the SSIS package. /// SSIS package execution log location. - internal ExecuteSsisPackageActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, SsisPackageLocation packageLocation, DataFactoryElement runtime, DataFactoryElement loggingLevel, DataFactoryElement environmentPath, SsisExecutionCredential executionCredential, IntegrationRuntimeReference connectVia, IDictionary projectParameters, IDictionary packageParameters, IDictionary> projectConnectionManagers, IDictionary> packageConnectionManagers, IDictionary propertyOverrides, SsisLogLocation logLocation) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal ExecuteSsisPackageActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, SsisPackageLocation packageLocation, DataFactoryElement runtime, DataFactoryElement loggingLevel, DataFactoryElement environmentPath, SsisExecutionCredential executionCredential, IntegrationRuntimeReference connectVia, IDictionary projectParameters, IDictionary packageParameters, IDictionary> projectConnectionManagers, IDictionary> packageConnectionManagers, IDictionary propertyOverrides, SsisLogLocation logLocation) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { PackageLocation = packageLocation; Runtime = runtime; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.Serialization.cs index 53e8126b..00735865 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.Serialization.cs @@ -157,8 +157,8 @@ internal static ExecuteWranglingDataflowActivity DeserializeExecuteWranglingData Optional> sourceStagingConcurrency = default; Optional> sinks = default; Optional> queries = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("policy"u8)) @@ -339,7 +339,7 @@ internal static ExecuteWranglingDataflowActivity DeserializeExecuteWranglingData } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExecuteWranglingDataflowActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, policy.Value, dataFlow, staging.Value, integrationRuntime.Value, compute.Value, traceLevel.Value, continueOnError.Value, runConcurrently.Value, sourceStagingConcurrency.Value, Optional.ToDictionary(sinks), Optional.ToList(queries)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.cs index 414d2204..51416941 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecuteWranglingDataflowActivity.cs @@ -48,7 +48,7 @@ public ExecuteWranglingDataflowActivity(string name, DataFlowReference dataFlow) /// Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer). /// (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName. /// List of mapping for Power Query mashup query to sink dataset(s). - internal ExecuteWranglingDataflowActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, PipelineActivityPolicy policy, DataFlowReference dataFlow, DataFlowStagingInfo staging, IntegrationRuntimeReference integrationRuntime, ExecuteDataFlowActivityComputeType compute, DataFactoryElement traceLevel, DataFactoryElement continueOnError, DataFactoryElement runConcurrently, DataFactoryElement sourceStagingConcurrency, IDictionary sinks, IList queries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal ExecuteWranglingDataflowActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, PipelineActivityPolicy policy, DataFlowReference dataFlow, DataFlowStagingInfo staging, IntegrationRuntimeReference integrationRuntime, ExecuteDataFlowActivityComputeType compute, DataFactoryElement traceLevel, DataFactoryElement continueOnError, DataFactoryElement runConcurrently, DataFactoryElement sourceStagingConcurrency, IDictionary sinks, IList queries) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Policy = policy; DataFlow = dataFlow; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.Serialization.cs index 8ec40c48..791bf1d3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.Serialization.cs @@ -124,8 +124,8 @@ internal static ExecutionActivity DeserializeExecutionActivity(JsonElement eleme Optional onInactiveMarkAs = default; Optional> dependsOn = default; Optional> userProperties = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -207,7 +207,7 @@ internal static ExecutionActivity DeserializeExecutionActivity(JsonElement eleme userProperties = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ExecutionActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.cs index f769c358..4e73bd01 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExecutionActivity.cs @@ -38,7 +38,7 @@ public ExecutionActivity(string name) : base(name) /// Additional Properties. /// Linked service reference. /// Activity policy. - internal ExecutionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal ExecutionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { LinkedServiceName = linkedServiceName; Policy = policy; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ExportSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ExportSettings.cs index d05ae951..61785115 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ExportSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ExportSettings.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,13 +20,13 @@ public partial class ExportSettings /// Initializes a new instance of ExportSettings. public ExportSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ExportSettings. /// The export setting type. /// Additional Properties. - internal ExportSettings(string exportSettingsType, IDictionary additionalProperties) + internal ExportSettings(string exportSettingsType, IDictionary> additionalProperties) { ExportSettingsType = exportSettingsType; AdditionalProperties = additionalProperties; @@ -63,6 +64,6 @@ internal ExportSettings(string exportSettingsType, IDictionary /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.Serialization.cs index 6938bd7e..59ba959b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.Serialization.cs @@ -89,8 +89,8 @@ internal static FailActivity DeserializeFailActivity(JsonElement element) Optional> userProperties = default; DataFactoryElement message = default; DataFactoryElement errorCode = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -176,7 +176,7 @@ internal static FailActivity DeserializeFailActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FailActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, message, errorCode); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.cs index fbe88ec0..da1fb9ec 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FailActivity.cs @@ -40,7 +40,7 @@ public FailActivity(string name, DataFactoryElement message, DataFactory /// Additional Properties. /// The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). /// The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). - internal FailActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryElement message, DataFactoryElement errorCode) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal FailActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryElement message, DataFactoryElement errorCode) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Message = message; ErrorCode = errorCode; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.Serialization.cs index c27e5b23..0c7327bc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.Serialization.cs @@ -105,8 +105,8 @@ internal static FileServerLinkedService DeserializeFileServerLinkedService(JsonE Optional> userId = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -203,7 +203,7 @@ internal static FileServerLinkedService DeserializeFileServerLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileServerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, userId.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.cs index cb7b6eb9..d186fbeb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLinkedService.cs @@ -35,7 +35,7 @@ public FileServerLinkedService(DataFactoryElement host) /// User ID to logon the server. Type: string (or Expression with resultType string). /// Password to logon the server. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal FileServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement userId, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal FileServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement userId, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; UserId = userId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.Serialization.cs index a2288769..6ea44215 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static FileServerLocation DeserializeFileServerLocation(JsonElement ele string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static FileServerLocation DeserializeFileServerLocation(JsonElement ele fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileServerLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.cs index 2c8ec132..793c304d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerLocation.cs @@ -23,7 +23,7 @@ public FileServerLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal FileServerLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal FileServerLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "FileServerLocation"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.Serialization.cs index dc0ed59f..ef606fc2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static FileServerReadSettings DeserializeFileServerReadSettings(JsonEle string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static FileServerReadSettings DeserializeFileServerReadSettings(JsonEle disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileServerReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, fileFilter.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.cs index 5a00ae83..7dcfd7e9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerReadSettings.cs @@ -33,7 +33,7 @@ public FileServerReadSettings() /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). /// Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). - internal FileServerReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DataFactoryElement fileFilter) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal FileServerReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DataFactoryElement fileFilter) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.Serialization.cs index 07a10502..2b90435d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.Serialization.cs @@ -59,8 +59,8 @@ internal static FileServerWriteSettings DeserializeFileServerWriteSettings(JsonE Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -95,7 +95,7 @@ internal static FileServerWriteSettings DeserializeFileServerWriteSettings(JsonE copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileServerWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.cs index cfeb397f..b0373581 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileServerWriteSettings.cs @@ -24,7 +24,7 @@ public FileServerWriteSettings() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// The type of copy behavior for copy sink. /// Additional Properties. - internal FileServerWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal FileServerWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { StoreWriteSettingsType = storeWriteSettingsType ?? "FileServerWriteSettings"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.Serialization.cs index ff3b74e2..237035bc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.Serialization.cs @@ -140,8 +140,8 @@ internal static FileShareDataset DeserializeFileShareDataset(JsonElement element Optional format = default; Optional> fileFilter = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -296,7 +296,7 @@ internal static FileShareDataset DeserializeFileShareDataset(JsonElement element } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileShareDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, folderPath.Value, fileName.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, format.Value, fileFilter.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.cs index 8fbf0b79..30c727a3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileShareDataset.cs @@ -44,7 +44,7 @@ public FileShareDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// /// Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). /// The data compression method used for the file system. - internal FileShareDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DataFactoryElement fileFilter, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal FileShareDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DataFactoryElement fileFilter, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; FileName = fileName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.Serialization.cs index 354aace7..fd1979d3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.Serialization.cs @@ -83,8 +83,8 @@ internal static FileSystemSink DeserializeFileSystemSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("copyBehavior"u8)) @@ -155,7 +155,7 @@ internal static FileSystemSink DeserializeFileSystemSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileSystemSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, copyBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.cs index 6886cfd5..ae47971b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSink.cs @@ -28,7 +28,7 @@ public FileSystemSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// The type of copy behavior for copy sink. - internal FileSystemSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, BinaryData copyBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal FileSystemSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, BinaryData copyBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { CopyBehavior = copyBehavior; CopySinkType = copySinkType ?? "FileSystemSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.Serialization.cs index e643c48f..880cb92a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.Serialization.cs @@ -77,8 +77,8 @@ internal static FileSystemSource DeserializeFileSystemSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -140,7 +140,7 @@ internal static FileSystemSource DeserializeFileSystemSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FileSystemSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.cs index 1bed5365..6cbc6d25 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FileSystemSource.cs @@ -27,7 +27,7 @@ public FileSystemSource() /// Additional Properties. /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal FileSystemSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal FileSystemSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.Serialization.cs index 788b1c40..97f3ea72 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -88,8 +89,8 @@ internal static FilterActivity DeserializeFilterActivity(JsonElement element) Optional> userProperties = default; DataFactoryExpression items = default; DataFactoryExpression condition = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -175,7 +176,7 @@ internal static FilterActivity DeserializeFilterActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FilterActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, items, condition); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.cs index 2011a7d0..eca1d901 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FilterActivity.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -39,7 +40,7 @@ public FilterActivity(string name, DataFactoryExpression items, DataFactoryExpre /// Additional Properties. /// Input array on which filter should be applied. /// Condition to be used for filtering the input. - internal FilterActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression items, DataFactoryExpression condition) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal FilterActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryExpression items, DataFactoryExpression condition) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Items = items; Condition = condition; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.Serialization.cs index 90301b5a..24ac18f3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -105,8 +106,8 @@ internal static ForEachActivity DeserializeForEachActivity(JsonElement element) Optional batchCount = default; DataFactoryExpression items = default; IList activities = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -215,7 +216,7 @@ internal static ForEachActivity DeserializeForEachActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ForEachActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, Optional.ToNullable(isSequential), Optional.ToNullable(batchCount), items, activities); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.cs index baaa5a65..9b0d6707 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ForEachActivity.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -49,7 +50,7 @@ public ForEachActivity(string name, DataFactoryExpression items, IEnumerable is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// - internal ForEachActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, bool? isSequential, int? batchCount, DataFactoryExpression items, IList activities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal ForEachActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, bool? isSequential, int? batchCount, DataFactoryExpression items, IList activities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { IsSequential = isSequential; BatchCount = batchCount; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FormatReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FormatReadSettings.cs index d0f94acd..c3fa8a47 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FormatReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FormatReadSettings.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,13 +20,13 @@ public partial class FormatReadSettings /// Initializes a new instance of FormatReadSettings. public FormatReadSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of FormatReadSettings. /// The read setting type. /// Additional Properties. - internal FormatReadSettings(string formatReadSettingsType, IDictionary additionalProperties) + internal FormatReadSettings(string formatReadSettingsType, IDictionary> additionalProperties) { FormatReadSettingsType = formatReadSettingsType; AdditionalProperties = additionalProperties; @@ -63,6 +64,6 @@ internal FormatReadSettings(string formatReadSettingsType, IDictionary /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FormatWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FormatWriteSettings.cs index a2b50dac..ca24931e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FormatWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FormatWriteSettings.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,13 +20,13 @@ public partial class FormatWriteSettings /// Initializes a new instance of FormatWriteSettings. public FormatWriteSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of FormatWriteSettings. /// The write setting type. /// Additional Properties. - internal FormatWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties) + internal FormatWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties) { FormatWriteSettingsType = formatWriteSettingsType; AdditionalProperties = additionalProperties; @@ -63,6 +64,6 @@ internal FormatWriteSettings(string formatWriteSettingsType, IDictionary /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.Serialization.cs index 7b7e030b..d6064feb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.Serialization.cs @@ -103,8 +103,8 @@ internal static FtpReadSettings DeserializeFtpReadSettings(JsonElement element) string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -211,7 +211,7 @@ internal static FtpReadSettings DeserializeFtpReadSettings(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FtpReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, fileListPath.Value, useBinaryTransfer.Value, disableChunking.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.cs index 49fd987d..a24e62a7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpReadSettings.cs @@ -32,7 +32,7 @@ public FtpReadSettings() /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). /// Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType boolean). /// If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). - internal FtpReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement fileListPath, DataFactoryElement useBinaryTransfer, DataFactoryElement disableChunking) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal FtpReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement fileListPath, DataFactoryElement useBinaryTransfer, DataFactoryElement disableChunking) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.Serialization.cs index 11805057..47b25496 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.Serialization.cs @@ -129,8 +129,8 @@ internal static FtpServerLinkedService DeserializeFtpServerLinkedService(JsonEle Optional encryptedCredential = default; Optional> enableSsl = default; Optional> enableServerCertificateValidation = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -263,7 +263,7 @@ internal static FtpServerLinkedService DeserializeFtpServerLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FtpServerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, Optional.ToNullable(authenticationType), userName.Value, password, encryptedCredential.Value, enableSsl.Value, enableServerCertificateValidation.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.cs index e2f30d3f..3afc55f7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLinkedService.cs @@ -39,7 +39,7 @@ public FtpServerLinkedService(DataFactoryElement host) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). /// If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). - internal FtpServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, FtpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, DataFactoryElement enableSsl, DataFactoryElement enableServerCertificateValidation) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal FtpServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, FtpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, DataFactoryElement enableSsl, DataFactoryElement enableServerCertificateValidation) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.Serialization.cs index 381ddc35..eedfb637 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static FtpServerLocation DeserializeFtpServerLocation(JsonElement eleme string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static FtpServerLocation DeserializeFtpServerLocation(JsonElement eleme fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new FtpServerLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.cs index 82b38bcc..b6113204 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/FtpServerLocation.cs @@ -23,7 +23,7 @@ public FtpServerLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal FtpServerLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal FtpServerLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "FtpServerLocation"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.Serialization.cs index ed095c1c..3fb71b67 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.Serialization.cs @@ -130,8 +130,8 @@ internal static GetDatasetMetadataActivity DeserializeGetDatasetMetadataActivity Optional> fieldList = default; Optional storeSettings = default; Optional formatSettings = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -269,7 +269,7 @@ internal static GetDatasetMetadataActivity DeserializeGetDatasetMetadataActivity } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GetDatasetMetadataActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, dataset, Optional.ToList(fieldList), storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.cs index 54bb278f..9053bf05 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GetDatasetMetadataActivity.cs @@ -50,7 +50,7 @@ public GetDatasetMetadataActivity(string name, DatasetReference dataset) : base( /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , and . /// - internal GetDatasetMetadataActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DatasetReference dataset, IList fieldList, StoreReadSettings storeSettings, FormatReadSettings formatSettings) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal GetDatasetMetadataActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DatasetReference dataset, IList fieldList, StoreReadSettings storeSettings, FormatReadSettings formatSettings) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Dataset = dataset; FieldList = fieldList; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.Serialization.cs index 245704a2..0ef0a2fe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.Serialization.cs @@ -160,8 +160,8 @@ internal static GoogleAdWordsLinkedService DeserializeGoogleAdWordsLinkedService Optional> trustedCertPath = default; Optional> useSystemTrustStore = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -334,7 +334,7 @@ internal static GoogleAdWordsLinkedService DeserializeGoogleAdWordsLinkedService } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleAdWordsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, clientCustomerId.Value, developerToken, Optional.ToNullable(authenticationType), refreshToken, clientId.Value, clientSecret, email.Value, keyFilePath.Value, trustedCertPath.Value, useSystemTrustStore.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.cs index 388286a4..3837de9b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsLinkedService.cs @@ -37,7 +37,7 @@ public GoogleAdWordsLinkedService() /// The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). /// Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal GoogleAdWordsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement clientCustomerId, DataFactorySecretBaseDefinition developerToken, GoogleAdWordsAuthenticationType? authenticationType, DataFactorySecretBaseDefinition refreshToken, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement email, DataFactoryElement keyFilePath, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal GoogleAdWordsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement clientCustomerId, DataFactorySecretBaseDefinition developerToken, GoogleAdWordsAuthenticationType? authenticationType, DataFactorySecretBaseDefinition refreshToken, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement email, DataFactoryElement keyFilePath, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; ClientCustomerId = clientCustomerId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs index 34208244..b710f074 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static GoogleAdWordsObjectDataset DeserializeGoogleAdWordsObjectDataset Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static GoogleAdWordsObjectDataset DeserializeGoogleAdWordsObjectDataset } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleAdWordsObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.cs index e06c40dc..61ab6a16 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsObjectDataset.cs @@ -34,7 +34,7 @@ public GoogleAdWordsObjectDataset(DataFactoryLinkedServiceReference linkedServic /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal GoogleAdWordsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal GoogleAdWordsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "GoogleAdWordsObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.Serialization.cs index c12b1717..babda90d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.Serialization.cs @@ -83,8 +83,8 @@ internal static GoogleAdWordsSource DeserializeGoogleAdWordsSource(JsonElement e Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static GoogleAdWordsSource DeserializeGoogleAdWordsSource(JsonElement e disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleAdWordsSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.cs index a19f22f0..c8c925e5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleAdWordsSource.cs @@ -28,7 +28,7 @@ public GoogleAdWordsSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal GoogleAdWordsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal GoogleAdWordsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "GoogleAdWordsSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.Serialization.cs index e4a22e34..c8ffe631 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.Serialization.cs @@ -150,8 +150,8 @@ internal static GoogleBigQueryLinkedService DeserializeGoogleBigQueryLinkedServi Optional> trustedCertPath = default; Optional> useSystemTrustStore = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -316,7 +316,7 @@ internal static GoogleBigQueryLinkedService DeserializeGoogleBigQueryLinkedServi } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleBigQueryLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, project, additionalProjects.Value, requestGoogleDriveScope.Value, authenticationType, refreshToken, clientId.Value, clientSecret, email.Value, keyFilePath.Value, trustedCertPath.Value, useSystemTrustStore.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.cs index 6737a9e1..94cda885 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryLinkedService.cs @@ -45,7 +45,7 @@ public GoogleBigQueryLinkedService(DataFactoryElement project, GoogleBig /// The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). /// Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal GoogleBigQueryLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement project, DataFactoryElement additionalProjects, DataFactoryElement requestGoogleDriveScope, GoogleBigQueryAuthenticationType authenticationType, DataFactorySecretBaseDefinition refreshToken, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement email, DataFactoryElement keyFilePath, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal GoogleBigQueryLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement project, DataFactoryElement additionalProjects, DataFactoryElement requestGoogleDriveScope, GoogleBigQueryAuthenticationType authenticationType, DataFactorySecretBaseDefinition refreshToken, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement email, DataFactoryElement keyFilePath, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Project = project; AdditionalProjects = additionalProjects; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs index 362a83ea..a41d6cf3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static GoogleBigQueryObjectDataset DeserializeGoogleBigQueryObjectDatas Optional tableName = default; Optional> table = default; Optional> dataset = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static GoogleBigQueryObjectDataset DeserializeGoogleBigQueryObjectDatas } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleBigQueryObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, dataset.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.cs index 570fd208..6dddb8e4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQueryObjectDataset.cs @@ -36,7 +36,7 @@ public GoogleBigQueryObjectDataset(DataFactoryLinkedServiceReference linkedServi /// This property will be retired. Please consider using database + table properties instead. /// The table name of the Google BigQuery. Type: string (or Expression with resultType string). /// The database name of the Google BigQuery. Type: string (or Expression with resultType string). - internal GoogleBigQueryObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement dataset) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal GoogleBigQueryObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement dataset) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.Serialization.cs index c3ed37b4..38c67467 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.Serialization.cs @@ -83,8 +83,8 @@ internal static GoogleBigQuerySource DeserializeGoogleBigQuerySource(JsonElement Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static GoogleBigQuerySource DeserializeGoogleBigQuerySource(JsonElement disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleBigQuerySource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.cs index 89edbcf3..a2994f6b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleBigQuerySource.cs @@ -28,7 +28,7 @@ public GoogleBigQuerySource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal GoogleBigQuerySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal GoogleBigQuerySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "GoogleBigQuerySource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.Serialization.cs index eb88deee..c16581bc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.Serialization.cs @@ -108,8 +108,8 @@ internal static GoogleCloudStorageLinkedService DeserializeGoogleCloudStorageLin Optional secretAccessKey = default; Optional> serviceUrl = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -210,7 +210,7 @@ internal static GoogleCloudStorageLinkedService DeserializeGoogleCloudStorageLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleCloudStorageLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, accessKeyId.Value, secretAccessKey, serviceUrl.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.cs index 08ca12b7..ae2d2f64 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLinkedService.cs @@ -29,7 +29,7 @@ public GoogleCloudStorageLinkedService() /// The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. /// This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal GoogleCloudStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal GoogleCloudStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AccessKeyId = accessKeyId; SecretAccessKey = secretAccessKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.Serialization.cs index a8e2098b..2386850a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.Serialization.cs @@ -61,8 +61,8 @@ internal static GoogleCloudStorageLocation DeserializeGoogleCloudStorageLocation string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("bucketName"u8)) @@ -106,7 +106,7 @@ internal static GoogleCloudStorageLocation DeserializeGoogleCloudStorageLocation fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleCloudStorageLocation(type, folderPath.Value, fileName.Value, additionalProperties, bucketName.Value, version.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.cs index d7d900dd..4357e838 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageLocation.cs @@ -25,7 +25,7 @@ public GoogleCloudStorageLocation() /// Additional Properties. /// Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string). /// Specify the version of Google Cloud Storage. Type: string (or Expression with resultType string). - internal GoogleCloudStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal GoogleCloudStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) { BucketName = bucketName; Version = version; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs index cc1a8385..6a5cb635 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static GoogleCloudStorageReadSettings DeserializeGoogleCloudStorageRead string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static GoogleCloudStorageReadSettings DeserializeGoogleCloudStorageRead disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleCloudStorageReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.cs index 1d05dcd3..ff635a4f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleCloudStorageReadSettings.cs @@ -33,7 +33,7 @@ public GoogleCloudStorageReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal GoogleCloudStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal GoogleCloudStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.Serialization.cs index 133ac2af..ff22643b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.Serialization.cs @@ -92,8 +92,8 @@ internal static GoogleSheetsLinkedService DeserializeGoogleSheetsLinkedService(J Optional> annotations = default; DataFactorySecretBaseDefinition apiToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -172,7 +172,7 @@ internal static GoogleSheetsLinkedService DeserializeGoogleSheetsLinkedService(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GoogleSheetsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, apiToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.cs index f7c86b74..5a9c41a6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GoogleSheetsLinkedService.cs @@ -33,7 +33,7 @@ public GoogleSheetsLinkedService(DataFactorySecretBaseDefinition apiToken) /// Additional Properties. /// The api token for the GoogleSheets source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal GoogleSheetsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal GoogleSheetsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ApiToken = apiToken; EncryptedCredential = encryptedCredential; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.Serialization.cs index eab5449b..e8421a2c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.Serialization.cs @@ -106,8 +106,8 @@ internal static GreenplumLinkedService DeserializeGreenplumLinkedService(JsonEle Optional connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static GreenplumLinkedService DeserializeGreenplumLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GreenplumLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.cs index abfbf379..2a346fda 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumLinkedService.cs @@ -28,7 +28,7 @@ public GreenplumLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal GreenplumLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal GreenplumLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.Serialization.cs index 1274a81c..d0a95dca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.Serialization.cs @@ -83,8 +83,8 @@ internal static GreenplumSource DeserializeGreenplumSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static GreenplumSource DeserializeGreenplumSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GreenplumSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.cs index b8e6de28..e0b06d58 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumSource.cs @@ -28,7 +28,7 @@ public GreenplumSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal GreenplumSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal GreenplumSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "GreenplumSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.Serialization.cs index 8fb97598..e5ef4696 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static GreenplumTableDataset DeserializeGreenplumTableDataset(JsonEleme Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static GreenplumTableDataset DeserializeGreenplumTableDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new GreenplumTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.cs index 9096479f..7f6e1cfa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/GreenplumTableDataset.cs @@ -36,7 +36,7 @@ public GreenplumTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// This property will be retired. Please consider using schema + table properties instead. /// The table name of Greenplum. Type: string (or Expression with resultType string). /// The schema name of Greenplum. Type: string (or Expression with resultType string). - internal GreenplumTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal GreenplumTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.Serialization.cs index 4f2f5b4b..20c3b908 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.Serialization.cs @@ -144,8 +144,8 @@ internal static HBaseLinkedService DeserializeHBaseLinkedService(JsonElement ele Optional> allowHostNameCNMismatch = default; Optional> allowSelfSignedServerCert = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -301,7 +301,7 @@ internal static HBaseLinkedService DeserializeHBaseLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HBaseLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, httpPath.Value, authenticationType, username.Value, password, enableSsl.Value, trustedCertPath.Value, allowHostNameCNMismatch.Value, allowSelfSignedServerCert.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.cs index 92522e93..ab642f10 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseLinkedService.cs @@ -44,7 +44,7 @@ public HBaseLinkedService(DataFactoryElement host, HBaseAuthenticationTy /// Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. /// Specifies whether to allow self-signed certificates from the server. The default value is false. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal HBaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, DataFactoryElement httpPath, HBaseAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HBaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, DataFactoryElement httpPath, HBaseAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.Serialization.cs index 78e6c058..b62929f2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static HBaseObjectDataset DeserializeHBaseObjectDataset(JsonElement ele Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static HBaseObjectDataset DeserializeHBaseObjectDataset(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HBaseObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.cs index 47ba2a55..19e7b401 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseObjectDataset.cs @@ -34,7 +34,7 @@ public HBaseObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal HBaseObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal HBaseObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "HBaseObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.Serialization.cs index 69066eef..b7aafc7d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.Serialization.cs @@ -83,8 +83,8 @@ internal static HBaseSource DeserializeHBaseSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static HBaseSource DeserializeHBaseSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HBaseSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.cs index 58b97e42..821e04d0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HBaseSource.cs @@ -28,7 +28,7 @@ public HBaseSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal HBaseSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal HBaseSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "HBaseSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.Serialization.cs index 4cf201ae..4d2324fb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.Serialization.cs @@ -189,11 +189,11 @@ internal static HDInsightHiveActivity DeserializeHDInsightHiveActivity(JsonEleme Optional getDebugInfo = default; Optional> scriptPath = default; Optional scriptLinkedService = default; - Optional> defines = default; - Optional> variables = default; + Optional>> defines = default; + Optional>> variables = default; Optional queryTimeout = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -352,7 +352,7 @@ internal static HDInsightHiveActivity DeserializeHDInsightHiveActivity(JsonEleme { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -361,7 +361,7 @@ internal static HDInsightHiveActivity DeserializeHDInsightHiveActivity(JsonEleme } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } defines = dictionary; @@ -373,7 +373,7 @@ internal static HDInsightHiveActivity DeserializeHDInsightHiveActivity(JsonEleme { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -382,7 +382,7 @@ internal static HDInsightHiveActivity DeserializeHDInsightHiveActivity(JsonEleme } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } variables = dictionary; @@ -400,7 +400,7 @@ internal static HDInsightHiveActivity DeserializeHDInsightHiveActivity(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightHiveActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, Optional.ToList(storageLinkedServices), Optional.ToList(arguments), Optional.ToNullable(getDebugInfo), scriptPath.Value, scriptLinkedService, Optional.ToDictionary(defines), Optional.ToDictionary(variables), Optional.ToNullable(queryTimeout)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.cs index 112512dc..d6e38144 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightHiveActivity.cs @@ -22,8 +22,8 @@ public HDInsightHiveActivity(string name) : base(name) StorageLinkedServices = new ChangeTrackingList(); Arguments = new ChangeTrackingList(); - Defines = new ChangeTrackingDictionary(); - Variables = new ChangeTrackingDictionary(); + Defines = new ChangeTrackingDictionary>(); + Variables = new ChangeTrackingDictionary>(); ActivityType = "HDInsightHive"; } @@ -46,7 +46,7 @@ public HDInsightHiveActivity(string name) : base(name) /// Allows user to specify defines for Hive job request. /// User specified arguments under hivevar namespace. /// Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package). - internal HDInsightHiveActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, IDictionary defines, IDictionary variables, int? queryTimeout) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal HDInsightHiveActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, IDictionary> defines, IDictionary> variables, int? queryTimeout) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; @@ -128,7 +128,7 @@ internal HDInsightHiveActivity(string name, string activityType, string descript /// /// /// - public IDictionary Defines { get; } + public IDictionary> Defines { get; } /// /// User specified arguments under hivevar namespace. /// @@ -159,7 +159,7 @@ internal HDInsightHiveActivity(string name, string activityType, string descript /// /// /// - public IDictionary Variables { get; } + public IDictionary> Variables { get; } /// Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package). public int? QueryTimeout { get; set; } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.Serialization.cs index 31e2c63c..903c36c1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.Serialization.cs @@ -129,8 +129,8 @@ internal static HDInsightLinkedService DeserializeHDInsightLinkedService(JsonEle Optional encryptedCredential = default; Optional> isEspEnabled = default; Optional> fileSystem = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -263,7 +263,7 @@ internal static HDInsightLinkedService DeserializeHDInsightLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, clusterUri, userName.Value, password, linkedServiceName, hcatalogLinkedServiceName, encryptedCredential.Value, isEspEnabled.Value, fileSystem.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.cs index f01de1b9..0c45636b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightLinkedService.cs @@ -39,7 +39,7 @@ public HDInsightLinkedService(DataFactoryElement clusterUri) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. /// Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). - internal HDInsightLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clusterUri, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, string encryptedCredential, DataFactoryElement isEspEnabled, DataFactoryElement fileSystem) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HDInsightLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement clusterUri, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, string encryptedCredential, DataFactoryElement isEspEnabled, DataFactoryElement fileSystem) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ClusterUri = clusterUri; UserName = userName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.Serialization.cs index 95e70992..37e22025 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.Serialization.cs @@ -184,9 +184,9 @@ internal static HDInsightMapReduceActivity DeserializeHDInsightMapReduceActivity DataFactoryElement jarFilePath = default; Optional jarLinkedService = default; Optional> jarLibs = default; - Optional> defines = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> defines = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -367,7 +367,7 @@ internal static HDInsightMapReduceActivity DeserializeHDInsightMapReduceActivity { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -376,7 +376,7 @@ internal static HDInsightMapReduceActivity DeserializeHDInsightMapReduceActivity } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } defines = dictionary; @@ -385,7 +385,7 @@ internal static HDInsightMapReduceActivity DeserializeHDInsightMapReduceActivity } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightMapReduceActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, Optional.ToList(storageLinkedServices), Optional.ToList(arguments), Optional.ToNullable(getDebugInfo), className, jarFilePath, jarLinkedService, Optional.ToList(jarLibs), Optional.ToDictionary(defines)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.cs index b21f1a7d..b0d7bc03 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightMapReduceActivity.cs @@ -29,7 +29,7 @@ public HDInsightMapReduceActivity(string name, DataFactoryElement classN ClassName = className; JarFilePath = jarFilePath; JarLibs = new ChangeTrackingList(); - Defines = new ChangeTrackingDictionary(); + Defines = new ChangeTrackingDictionary>(); ActivityType = "HDInsightMapReduce"; } @@ -52,7 +52,7 @@ public HDInsightMapReduceActivity(string name, DataFactoryElement classN /// Jar linked service reference. /// Jar libs. /// Allows user to specify defines for the MapReduce job request. - internal HDInsightMapReduceActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement className, DataFactoryElement jarFilePath, DataFactoryLinkedServiceReference jarLinkedService, IList jarLibs, IDictionary defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal HDInsightMapReduceActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement className, DataFactoryElement jarFilePath, DataFactoryLinkedServiceReference jarLinkedService, IList jarLibs, IDictionary> defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; @@ -167,6 +167,6 @@ internal HDInsightMapReduceActivity(string name, string activityType, string des /// /// /// - public IDictionary Defines { get; } + public IDictionary> Defines { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs index 5c6c3d39..3ca556d7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs @@ -320,8 +320,8 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke Optional> virtualNetworkId = default; Optional> subnetName = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -674,7 +674,7 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightOnDemandLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, clusterSize, timeToLive, version, linkedServiceName, hostSubscriptionId, servicePrincipalId.Value, servicePrincipalKey, tenant, clusterResourceGroup, clusterNamePrefix.Value, clusterUserName.Value, clusterPassword, clusterSshUserName.Value, clusterSshPassword, Optional.ToList(additionalLinkedServiceNames), hcatalogLinkedServiceName, clusterType.Value, sparkVersion.Value, coreConfiguration.Value, hBaseConfiguration.Value, hdfsConfiguration.Value, hiveConfiguration.Value, mapReduceConfiguration.Value, oozieConfiguration.Value, stormConfiguration.Value, yarnConfiguration.Value, encryptedCredential.Value, headNodeSize.Value, dataNodeSize.Value, zookeeperNodeSize.Value, Optional.ToList(scriptActions), virtualNetworkId.Value, subnetName.Value, credential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.cs index 58a3f565..1a7c4315 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightOnDemandLinkedService.cs @@ -85,7 +85,7 @@ public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, Da /// The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). /// The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal HDInsightOnDemandLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup, DataFactoryElement clusterNamePrefix, DataFactoryElement clusterUserName, DataFactorySecretBaseDefinition clusterPassword, DataFactoryElement clusterSshUserName, DataFactorySecretBaseDefinition clusterSshPassword, IList additionalLinkedServiceNames, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, DataFactoryElement clusterType, DataFactoryElement sparkVersion, BinaryData coreConfiguration, BinaryData hBaseConfiguration, BinaryData hdfsConfiguration, BinaryData hiveConfiguration, BinaryData mapReduceConfiguration, BinaryData oozieConfiguration, BinaryData stormConfiguration, BinaryData yarnConfiguration, string encryptedCredential, BinaryData headNodeSize, BinaryData dataNodeSize, BinaryData zookeeperNodeSize, IList scriptActions, DataFactoryElement virtualNetworkId, DataFactoryElement subnetName, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HDInsightOnDemandLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup, DataFactoryElement clusterNamePrefix, DataFactoryElement clusterUserName, DataFactorySecretBaseDefinition clusterPassword, DataFactoryElement clusterSshUserName, DataFactorySecretBaseDefinition clusterSshPassword, IList additionalLinkedServiceNames, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, DataFactoryElement clusterType, DataFactoryElement sparkVersion, BinaryData coreConfiguration, BinaryData hBaseConfiguration, BinaryData hdfsConfiguration, BinaryData hiveConfiguration, BinaryData mapReduceConfiguration, BinaryData oozieConfiguration, BinaryData stormConfiguration, BinaryData yarnConfiguration, string encryptedCredential, BinaryData headNodeSize, BinaryData dataNodeSize, BinaryData zookeeperNodeSize, IList scriptActions, DataFactoryElement virtualNetworkId, DataFactoryElement subnetName, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ClusterSize = clusterSize; TimeToLiveExpression = timeToLiveExpression; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.Serialization.cs index eb19fd07..961982f3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.Serialization.cs @@ -154,9 +154,9 @@ internal static HDInsightPigActivity DeserializeHDInsightPigActivity(JsonElement Optional getDebugInfo = default; Optional> scriptPath = default; Optional scriptLinkedService = default; - Optional> defines = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> defines = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -303,7 +303,7 @@ internal static HDInsightPigActivity DeserializeHDInsightPigActivity(JsonElement { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -312,7 +312,7 @@ internal static HDInsightPigActivity DeserializeHDInsightPigActivity(JsonElement } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } defines = dictionary; @@ -321,7 +321,7 @@ internal static HDInsightPigActivity DeserializeHDInsightPigActivity(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightPigActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, Optional.ToList(storageLinkedServices), arguments.Value, Optional.ToNullable(getDebugInfo), scriptPath.Value, scriptLinkedService, Optional.ToDictionary(defines)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.cs index 77523ec1..5a50f152 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightPigActivity.cs @@ -21,7 +21,7 @@ public HDInsightPigActivity(string name) : base(name) Argument.AssertNotNull(name, nameof(name)); StorageLinkedServices = new ChangeTrackingList(); - Defines = new ChangeTrackingDictionary(); + Defines = new ChangeTrackingDictionary>(); ActivityType = "HDInsightPig"; } @@ -42,7 +42,7 @@ public HDInsightPigActivity(string name) : base(name) /// Script path. Type: string (or Expression with resultType string). /// Script linked service reference. /// Allows user to specify defines for Pig job request. - internal HDInsightPigActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, BinaryData arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, IDictionary defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal HDInsightPigActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, BinaryData arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, IDictionary> defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; @@ -122,6 +122,6 @@ internal HDInsightPigActivity(string name, string activityType, string descripti /// /// /// - public IDictionary Defines { get; } + public IDictionary> Defines { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.Serialization.cs index 8985b1a6..a2e01340 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.Serialization.cs @@ -165,9 +165,9 @@ internal static HDInsightSparkActivity DeserializeHDInsightSparkActivity(JsonEle Optional sparkJobLinkedService = default; Optional className = default; Optional> proxyUser = default; - Optional> sparkConfig = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> sparkConfig = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -327,7 +327,7 @@ internal static HDInsightSparkActivity DeserializeHDInsightSparkActivity(JsonEle { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -336,7 +336,7 @@ internal static HDInsightSparkActivity DeserializeHDInsightSparkActivity(JsonEle } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } sparkConfig = dictionary; @@ -345,7 +345,7 @@ internal static HDInsightSparkActivity DeserializeHDInsightSparkActivity(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightSparkActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, rootPath, entryFilePath, Optional.ToList(arguments), Optional.ToNullable(getDebugInfo), sparkJobLinkedService, className.Value, proxyUser.Value, Optional.ToDictionary(sparkConfig)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.cs index 1276d336..d436243c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightSparkActivity.cs @@ -27,7 +27,7 @@ public HDInsightSparkActivity(string name, DataFactoryElement rootPath, RootPath = rootPath; EntryFilePath = entryFilePath; Arguments = new ChangeTrackingList(); - SparkConfig = new ChangeTrackingDictionary(); + SparkConfig = new ChangeTrackingDictionary>(); ActivityType = "HDInsightSpark"; } @@ -50,7 +50,7 @@ public HDInsightSparkActivity(string name, DataFactoryElement rootPath, /// The application's Java/Spark main class. /// The user to impersonate that will execute the job. Type: string (or Expression with resultType string). /// Spark configuration property. - internal HDInsightSparkActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement rootPath, DataFactoryElement entryFilePath, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryLinkedServiceReference sparkJobLinkedService, string className, DataFactoryElement proxyUser, IDictionary sparkConfig) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal HDInsightSparkActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement rootPath, DataFactoryElement entryFilePath, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryLinkedServiceReference sparkJobLinkedService, string className, DataFactoryElement proxyUser, IDictionary> sparkConfig) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { RootPath = rootPath; EntryFilePath = entryFilePath; @@ -136,6 +136,6 @@ internal HDInsightSparkActivity(string name, string activityType, string descrip /// /// /// - public IDictionary SparkConfig { get; } + public IDictionary> SparkConfig { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.Serialization.cs index 0152924b..85d77c10 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.Serialization.cs @@ -213,9 +213,9 @@ internal static HDInsightStreamingActivity DeserializeHDInsightStreamingActivity Optional fileLinkedService = default; Optional> combiner = default; Optional> commandEnvironment = default; - Optional> defines = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> defines = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -432,7 +432,7 @@ internal static HDInsightStreamingActivity DeserializeHDInsightStreamingActivity { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -441,7 +441,7 @@ internal static HDInsightStreamingActivity DeserializeHDInsightStreamingActivity } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } defines = dictionary; @@ -450,7 +450,7 @@ internal static HDInsightStreamingActivity DeserializeHDInsightStreamingActivity } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HDInsightStreamingActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, Optional.ToList(storageLinkedServices), Optional.ToList(arguments), Optional.ToNullable(getDebugInfo), mapper, reducer, input, output, filePaths, fileLinkedService, combiner.Value, Optional.ToList(commandEnvironment), Optional.ToDictionary(defines)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.cs index c6cd444b..12a97800 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HDInsightStreamingActivity.cs @@ -38,7 +38,7 @@ public HDInsightStreamingActivity(string name, DataFactoryElement mapper Output = output; FilePaths = filePaths.ToList(); CommandEnvironment = new ChangeTrackingList(); - Defines = new ChangeTrackingDictionary(); + Defines = new ChangeTrackingDictionary>(); ActivityType = "HDInsightStreaming"; } @@ -65,7 +65,7 @@ public HDInsightStreamingActivity(string name, DataFactoryElement mapper /// Combiner executable name. Type: string (or Expression with resultType string). /// Command line environment values. /// Allows user to specify defines for streaming job request. - internal HDInsightStreamingActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement mapper, DataFactoryElement reducer, DataFactoryElement input, DataFactoryElement output, IList filePaths, DataFactoryLinkedServiceReference fileLinkedService, DataFactoryElement combiner, IList commandEnvironment, IDictionary defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal HDInsightStreamingActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, IList arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement mapper, DataFactoryElement reducer, DataFactoryElement input, DataFactoryElement output, IList filePaths, DataFactoryLinkedServiceReference fileLinkedService, DataFactoryElement combiner, IList commandEnvironment, IDictionary> defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; @@ -221,6 +221,6 @@ internal HDInsightStreamingActivity(string name, string activityType, string des /// /// /// - public IDictionary Defines { get; } + public IDictionary> Defines { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.Serialization.cs index 231f335a..30ec2c8d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.Serialization.cs @@ -111,8 +111,8 @@ internal static HdfsLinkedService DeserializeHdfsLinkedService(JsonElement eleme Optional encryptedCredential = default; Optional> userName = default; Optional password = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -218,7 +218,7 @@ internal static HdfsLinkedService DeserializeHdfsLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HdfsLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, authenticationType.Value, encryptedCredential.Value, userName.Value, password); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.cs index 28a4a549..8bab371c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLinkedService.cs @@ -36,7 +36,7 @@ public HdfsLinkedService(DataFactoryElement uri) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// User name for Windows authentication. Type: string (or Expression with resultType string). /// Password for Windows authentication. - internal HdfsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactoryElement authenticationType, string encryptedCredential, DataFactoryElement userName, DataFactorySecretBaseDefinition password) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HdfsLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactoryElement authenticationType, string encryptedCredential, DataFactoryElement userName, DataFactorySecretBaseDefinition password) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.Serialization.cs index 7a2ccd55..80b0de47 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static HdfsLocation DeserializeHdfsLocation(JsonElement element) string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static HdfsLocation DeserializeHdfsLocation(JsonElement element) fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HdfsLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.cs index 66fe7749..62a5c052 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsLocation.cs @@ -23,7 +23,7 @@ public HdfsLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal HdfsLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal HdfsLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "HdfsLocation"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.Serialization.cs index ebbf0cec..8906fb68 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static HdfsReadSettings DeserializeHdfsReadSettings(JsonElement element string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static HdfsReadSettings DeserializeHdfsReadSettings(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HdfsReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, distcpSettings.Value, deleteFilesAfterCompletion.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.cs index 636990f4..a984ebdf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsReadSettings.cs @@ -33,7 +33,7 @@ public HdfsReadSettings() /// The end of file's modified datetime. Type: string (or Expression with resultType string). /// Specifies Distcp-related settings. /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - internal HdfsReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DistcpSettings distcpSettings, DataFactoryElement deleteFilesAfterCompletion) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal HdfsReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DistcpSettings distcpSettings, DataFactoryElement deleteFilesAfterCompletion) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.Serialization.cs index 48ac8c37..96da1e0e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.Serialization.cs @@ -73,8 +73,8 @@ internal static HdfsSource DeserializeHdfsSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -136,7 +136,7 @@ internal static HdfsSource DeserializeHdfsSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HdfsSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, distcpSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.cs index 4b4057ee..c3901fa4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HdfsSource.cs @@ -27,7 +27,7 @@ public HdfsSource() /// Additional Properties. /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). /// Specifies Distcp-related settings. - internal HdfsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DistcpSettings distcpSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal HdfsSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DistcpSettings distcpSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; DistcpSettings = distcpSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.Serialization.cs index a63d892f..33b75755 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.Serialization.cs @@ -180,8 +180,8 @@ internal static HiveLinkedService DeserializeHiveLinkedService(JsonElement eleme Optional> allowHostNameCNMismatch = default; Optional> allowSelfSignedServerCert = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -391,7 +391,7 @@ internal static HiveLinkedService DeserializeHiveLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HiveLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, Optional.ToNullable(serverType), Optional.ToNullable(thriftTransportProtocol), authenticationType, serviceDiscoveryMode.Value, zooKeeperNameSpace.Value, useNativeQuery.Value, username.Value, password, httpPath.Value, enableSsl.Value, trustedCertPath.Value, useSystemTrustStore.Value, allowHostNameCNMismatch.Value, allowSelfSignedServerCert.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.cs index 302f35a5..f2b1a606 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveLinkedService.cs @@ -50,7 +50,7 @@ public HiveLinkedService(DataFactoryElement host, HiveAuthenticationType /// Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. /// Specifies whether to allow self-signed certificates from the server. The default value is false. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal HiveLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, HiveServerType? serverType, HiveThriftTransportProtocol? thriftTransportProtocol, HiveAuthenticationType authenticationType, DataFactoryElement serviceDiscoveryMode, DataFactoryElement zooKeeperNameSpace, DataFactoryElement useNativeQuery, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement httpPath, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HiveLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, HiveServerType? serverType, HiveThriftTransportProtocol? thriftTransportProtocol, HiveAuthenticationType authenticationType, DataFactoryElement serviceDiscoveryMode, DataFactoryElement zooKeeperNameSpace, DataFactoryElement useNativeQuery, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement httpPath, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.Serialization.cs index 7dfed765..0d735dcc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static HiveObjectDataset DeserializeHiveObjectDataset(JsonElement eleme Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static HiveObjectDataset DeserializeHiveObjectDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HiveObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.cs index 4749fbda..6ded8df6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveObjectDataset.cs @@ -36,7 +36,7 @@ public HiveObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Hive. Type: string (or Expression with resultType string). /// The schema name of the Hive. Type: string (or Expression with resultType string). - internal HiveObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal HiveObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.Serialization.cs index 08563452..18d3ecb6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.Serialization.cs @@ -83,8 +83,8 @@ internal static HiveSource DeserializeHiveSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static HiveSource DeserializeHiveSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HiveSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.cs index 5e76ec03..154d0f60 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HiveSource.cs @@ -28,7 +28,7 @@ public HiveSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal HiveSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal HiveSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "HiveSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.Serialization.cs index 082c7402..e509a9b6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.Serialization.cs @@ -135,8 +135,8 @@ internal static HttpLinkedService DeserializeHttpLinkedService(JsonElement eleme Optional> certThumbprint = default; Optional encryptedCredential = default; Optional> enableServerCertificateValidation = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -278,7 +278,7 @@ internal static HttpLinkedService DeserializeHttpLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HttpLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, Optional.ToNullable(authenticationType), userName.Value, password, authHeaders.Value, embeddedCertData.Value, certThumbprint.Value, encryptedCredential.Value, enableServerCertificateValidation.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.cs index 905ff8a3..2a99262c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpLinkedService.cs @@ -40,7 +40,7 @@ public HttpLinkedService(DataFactoryElement uri) /// Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). - internal HttpLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, HttpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement embeddedCertData, DataFactoryElement certThumbprint, string encryptedCredential, DataFactoryElement enableServerCertificateValidation) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HttpLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, HttpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement embeddedCertData, DataFactoryElement certThumbprint, string encryptedCredential, DataFactoryElement enableServerCertificateValidation) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.Serialization.cs index 415dd236..e7ce91e1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.Serialization.cs @@ -83,8 +83,8 @@ internal static HttpReadSettings DeserializeHttpReadSettings(JsonElement element string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("requestMethod"u8)) @@ -155,7 +155,7 @@ internal static HttpReadSettings DeserializeHttpReadSettings(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HttpReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, requestMethod.Value, requestBody.Value, additionalHeaders.Value, requestTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.cs index 707c2c6e..b76fa8a8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpReadSettings.cs @@ -28,7 +28,7 @@ public HttpReadSettings() /// The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). /// Specifies the timeout for a HTTP client to get HTTP response from HTTP server. Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal HttpReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DataFactoryElement requestTimeout, BinaryData additionalColumns) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal HttpReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DataFactoryElement requestTimeout, BinaryData additionalColumns) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { RequestMethod = requestMethod; RequestBody = requestBody; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.Serialization.cs index 24a4a9e2..3442cf63 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.Serialization.cs @@ -55,8 +55,8 @@ internal static HttpServerLocation DeserializeHttpServerLocation(JsonElement ele string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("relativeUrl"u8)) @@ -91,7 +91,7 @@ internal static HttpServerLocation DeserializeHttpServerLocation(JsonElement ele fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HttpServerLocation(type, folderPath.Value, fileName.Value, additionalProperties, relativeUrl.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.cs index 076e738f..82244132 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HttpServerLocation.cs @@ -24,7 +24,7 @@ public HttpServerLocation() /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. /// Specify the relativeUrl of http server. Type: string (or Expression with resultType string). - internal HttpServerLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement relativeUri) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal HttpServerLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement relativeUri) : base(datasetLocationType, folderPath, fileName, additionalProperties) { RelativeUri = relativeUri; DatasetLocationType = datasetLocationType ?? "HttpServerLocation"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.Serialization.cs index d8c20288..60ed4a75 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.Serialization.cs @@ -129,8 +129,8 @@ internal static HubspotLinkedService DeserializeHubspotLinkedService(JsonElement Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -263,7 +263,7 @@ internal static HubspotLinkedService DeserializeHubspotLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HubspotLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, clientId, clientSecret, accessToken, refreshToken, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.cs index 4651b43c..449014d3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotLinkedService.cs @@ -39,7 +39,7 @@ public HubspotLinkedService(DataFactoryElement clientId) /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal HubspotLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactorySecretBaseDefinition accessToken, DataFactorySecretBaseDefinition refreshToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HubspotLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactorySecretBaseDefinition accessToken, DataFactorySecretBaseDefinition refreshToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ClientId = clientId; ClientSecret = clientSecret; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.Serialization.cs index a1132ec8..6fe3b2d1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static HubspotObjectDataset DeserializeHubspotObjectDataset(JsonElement Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static HubspotObjectDataset DeserializeHubspotObjectDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HubspotObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.cs index 35c71661..a71d7b0f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotObjectDataset.cs @@ -34,7 +34,7 @@ public HubspotObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal HubspotObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal HubspotObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "HubspotObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.Serialization.cs index c01b4bd0..a282adee 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.Serialization.cs @@ -83,8 +83,8 @@ internal static HubspotSource DeserializeHubspotSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static HubspotSource DeserializeHubspotSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new HubspotSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.cs index b90d7add..5ab5cf61 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/HubspotSource.cs @@ -28,7 +28,7 @@ public HubspotSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal HubspotSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal HubspotSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "HubspotSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.Serialization.cs index 813583df..fa21a4df 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -107,8 +108,8 @@ internal static IfConditionActivity DeserializeIfConditionActivity(JsonElement e DataFactoryExpression expression = default; Optional> ifTrueActivities = default; Optional> ifFalseActivities = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -217,7 +218,7 @@ internal static IfConditionActivity DeserializeIfConditionActivity(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IfConditionActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, expression, Optional.ToList(ifTrueActivities), Optional.ToList(ifFalseActivities)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.cs index f05497bd..75ec2ad5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IfConditionActivity.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -47,7 +48,7 @@ public IfConditionActivity(string name, DataFactoryExpression expression) : base /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// - internal IfConditionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression expression, IList ifTrueActivities, IList ifFalseActivities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal IfConditionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryExpression expression, IList ifTrueActivities, IList ifFalseActivities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Expression = expression; IfTrueActivities = ifTrueActivities; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.Serialization.cs index 6eea6ea3..ea39e10c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.Serialization.cs @@ -144,8 +144,8 @@ internal static ImpalaLinkedService DeserializeImpalaLinkedService(JsonElement e Optional> allowHostNameCNMismatch = default; Optional> allowSelfSignedServerCert = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -301,7 +301,7 @@ internal static ImpalaLinkedService DeserializeImpalaLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ImpalaLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, authenticationType, username.Value, password, enableSsl.Value, trustedCertPath.Value, useSystemTrustStore.Value, allowHostNameCNMismatch.Value, allowSelfSignedServerCert.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.cs index f5d6ec5d..df472e51 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaLinkedService.cs @@ -44,7 +44,7 @@ public ImpalaLinkedService(DataFactoryElement host, ImpalaAuthentication /// Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. /// Specifies whether to allow self-signed certificates from the server. The default value is false. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ImpalaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, ImpalaAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ImpalaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, ImpalaAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.Serialization.cs index d292cb4a..92c8c79f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static ImpalaObjectDataset DeserializeImpalaObjectDataset(JsonElement e Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static ImpalaObjectDataset DeserializeImpalaObjectDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ImpalaObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.cs index a91d80b2..ec830d9d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaObjectDataset.cs @@ -36,7 +36,7 @@ public ImpalaObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Impala. Type: string (or Expression with resultType string). /// The schema name of the Impala. Type: string (or Expression with resultType string). - internal ImpalaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ImpalaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.Serialization.cs index 0ea12cff..1f8c8dc1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.Serialization.cs @@ -83,8 +83,8 @@ internal static ImpalaSource DeserializeImpalaSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ImpalaSource DeserializeImpalaSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ImpalaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.cs index 64411b10..8b6c100a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImpalaSource.cs @@ -28,7 +28,7 @@ public ImpalaSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal ImpalaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal ImpalaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "ImpalaSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ImportSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ImportSettings.cs index c432560e..d2e26aee 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ImportSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ImportSettings.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,13 +20,13 @@ public partial class ImportSettings /// Initializes a new instance of ImportSettings. public ImportSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ImportSettings. /// The import setting type. /// Additional Properties. - internal ImportSettings(string importSettingsType, IDictionary additionalProperties) + internal ImportSettings(string importSettingsType, IDictionary> additionalProperties) { ImportSettingsType = importSettingsType; AdditionalProperties = additionalProperties; @@ -63,6 +64,6 @@ internal ImportSettings(string importSettingsType, IDictionary /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.Serialization.cs index 973588fa..c340a392 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static InformixLinkedService DeserializeInformixLinkedService(JsonEleme Optional> userName = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static InformixLinkedService DeserializeInformixLinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new InformixLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, authenticationType.Value, credential, userName.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.cs index 216a8b9c..f8db2ed4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixLinkedService.cs @@ -37,7 +37,7 @@ public InformixLinkedService(DataFactoryElement connectionString) /// User name for Basic authentication. Type: string (or Expression with resultType string). /// Password for Basic authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal InformixLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement authenticationType, DataFactorySecretBaseDefinition credential, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal InformixLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement authenticationType, DataFactorySecretBaseDefinition credential, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.Serialization.cs index 89cc6c04..f56c9a81 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.Serialization.cs @@ -79,8 +79,8 @@ internal static InformixSink DeserializeInformixSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -151,7 +151,7 @@ internal static InformixSink DeserializeInformixSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new InformixSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.cs index e35f629c..9bc82ad4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSink.cs @@ -28,7 +28,7 @@ public InformixSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// A query to execute before starting the copy. Type: string (or Expression with resultType string). - internal InformixSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal InformixSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; CopySinkType = copySinkType ?? "InformixSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.Serialization.cs index b0a70d84..5a1ef93f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.Serialization.cs @@ -83,8 +83,8 @@ internal static InformixSource DeserializeInformixSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static InformixSource DeserializeInformixSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new InformixSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.cs index 1a66210c..e362a148 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixSource.cs @@ -28,7 +28,7 @@ public InformixSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal InformixSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal InformixSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "InformixSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.Serialization.cs index 4bd8837f..dfa09d52 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static InformixTableDataset DeserializeInformixTableDataset(JsonElement Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static InformixTableDataset DeserializeInformixTableDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new InformixTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.cs index 2834690e..46575d10 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/InformixTableDataset.cs @@ -34,7 +34,7 @@ public InformixTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Informix table name. Type: string (or Expression with resultType string). - internal InformixTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal InformixTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "InformixTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.Serialization.cs index 15375896..307f4c2b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -81,8 +82,8 @@ internal static IntegrationRuntimeComputeProperties DeserializeIntegrationRuntim Optional vnetProperties = default; Optional copyComputeScaleProperties = default; Optional pipelineExternalComputeScaleProperties = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("location"u8)) @@ -153,7 +154,7 @@ internal static IntegrationRuntimeComputeProperties DeserializeIntegrationRuntim pipelineExternalComputeScaleProperties = PipelineExternalComputeScaleProperties.DeserializePipelineExternalComputeScaleProperties(property.Value); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeComputeProperties(Optional.ToNullable(location), nodeSize.Value, Optional.ToNullable(numberOfNodes), Optional.ToNullable(maxParallelExecutionsPerNode), dataFlowProperties.Value, vnetProperties.Value, copyComputeScaleProperties.Value, pipelineExternalComputeScaleProperties.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.cs index d3e1f7ab..d72d06f1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeComputeProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class IntegrationRuntimeComputeProperties /// Initializes a new instance of IntegrationRuntimeComputeProperties. public IntegrationRuntimeComputeProperties() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeComputeProperties. @@ -28,7 +29,7 @@ public IntegrationRuntimeComputeProperties() /// CopyComputeScale properties for managed integration runtime. /// PipelineExternalComputeScale properties for managed integration runtime. /// Additional Properties. - internal IntegrationRuntimeComputeProperties(AzureLocation? location, string nodeSize, int? numberOfNodes, int? maxParallelExecutionsPerNode, IntegrationRuntimeDataFlowProperties dataFlowProperties, IntegrationRuntimeVnetProperties vnetProperties, CopyComputeScaleProperties copyComputeScaleProperties, PipelineExternalComputeScaleProperties pipelineExternalComputeScaleProperties, IDictionary additionalProperties) + internal IntegrationRuntimeComputeProperties(AzureLocation? location, string nodeSize, int? numberOfNodes, int? maxParallelExecutionsPerNode, IntegrationRuntimeDataFlowProperties dataFlowProperties, IntegrationRuntimeVnetProperties vnetProperties, CopyComputeScaleProperties copyComputeScaleProperties, PipelineExternalComputeScaleProperties pipelineExternalComputeScaleProperties, IDictionary> additionalProperties) { Location = location; NodeSize = nodeSize; @@ -87,6 +88,6 @@ internal IntegrationRuntimeComputeProperties(AzureLocation? location, string nod /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.Serialization.cs index 8ab6bd71..0c10d449 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -24,8 +25,8 @@ internal static IntegrationRuntimeConnectionInfo DeserializeIntegrationRuntimeCo Optional version = default; Optional publicKey = default; Optional isIdentityCertExprired = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("serviceToken"u8)) @@ -66,7 +67,7 @@ internal static IntegrationRuntimeConnectionInfo DeserializeIntegrationRuntimeCo isIdentityCertExprired = property.Value.GetBoolean(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeConnectionInfo(serviceToken.Value, identityCertThumbprint.Value, hostServiceUri.Value, version.Value, publicKey.Value, Optional.ToNullable(isIdentityCertExprired), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.cs index 5cdba317..6ada5cfc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeConnectionInfo.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class IntegrationRuntimeConnectionInfo /// Initializes a new instance of IntegrationRuntimeConnectionInfo. internal IntegrationRuntimeConnectionInfo() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeConnectionInfo. @@ -26,7 +27,7 @@ internal IntegrationRuntimeConnectionInfo() /// The public key for encrypting a credential when transferring the credential to the integration runtime. /// Whether the identity certificate is expired. /// Additional Properties. - internal IntegrationRuntimeConnectionInfo(string serviceToken, string identityCertThumbprint, Uri hostServiceUri, string version, string publicKey, bool? isIdentityCertExprired, IReadOnlyDictionary additionalProperties) + internal IntegrationRuntimeConnectionInfo(string serviceToken, string identityCertThumbprint, Uri hostServiceUri, string version, string publicKey, bool? isIdentityCertExprired, IReadOnlyDictionary> additionalProperties) { ServiceToken = serviceToken; IdentityCertThumbprint = identityCertThumbprint; @@ -79,6 +80,6 @@ internal IntegrationRuntimeConnectionInfo(string serviceToken, string identityCe /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.Serialization.cs index 46330819..a1f87990 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -68,8 +69,8 @@ internal static IntegrationRuntimeDataFlowProperties DeserializeIntegrationRunti Optional timeToLive = default; Optional cleanup = default; Optional> customProperties = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("computeType"u8)) @@ -122,7 +123,7 @@ internal static IntegrationRuntimeDataFlowProperties DeserializeIntegrationRunti customProperties = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeDataFlowProperties(Optional.ToNullable(computeType), Optional.ToNullable(coreCount), Optional.ToNullable(timeToLive), Optional.ToNullable(cleanup), Optional.ToList(customProperties), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.cs index f44179ee..6775f7c9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeDataFlowProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class IntegrationRuntimeDataFlowProperties public IntegrationRuntimeDataFlowProperties() { CustomProperties = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeDataFlowProperties. @@ -26,7 +27,7 @@ public IntegrationRuntimeDataFlowProperties() /// Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true. /// Custom properties are used to tune the data flow runtime performance. /// Additional Properties. - internal IntegrationRuntimeDataFlowProperties(DataFlowComputeType? computeType, int? coreCount, int? timeToLiveInMinutes, bool? shouldCleanupAfterTtl, IList customProperties, IDictionary additionalProperties) + internal IntegrationRuntimeDataFlowProperties(DataFlowComputeType? computeType, int? coreCount, int? timeToLiveInMinutes, bool? shouldCleanupAfterTtl, IList customProperties, IDictionary> additionalProperties) { ComputeType = computeType; CoreCount = coreCount; @@ -76,6 +77,6 @@ internal IntegrationRuntimeDataFlowProperties(DataFlowComputeType? computeType, /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.Serialization.cs index 2c25131d..73ee9733 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -26,8 +27,8 @@ internal static IntegrationRuntimeNodeMonitoringData DeserializeIntegrationRunti Optional maxConcurrentJobs = default; Optional sentBytes = default; Optional receivedBytes = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("nodeName"u8)) @@ -98,7 +99,7 @@ internal static IntegrationRuntimeNodeMonitoringData DeserializeIntegrationRunti receivedBytes = property.Value.GetSingle(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeNodeMonitoringData(nodeName.Value, Optional.ToNullable(availableMemoryInMB), Optional.ToNullable(cpuUtilization), Optional.ToNullable(concurrentJobsLimit), Optional.ToNullable(concurrentJobsRunning), Optional.ToNullable(maxConcurrentJobs), Optional.ToNullable(sentBytes), Optional.ToNullable(receivedBytes), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs index 0fbacee5..c3b822c0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class IntegrationRuntimeNodeMonitoringData /// Initializes a new instance of IntegrationRuntimeNodeMonitoringData. internal IntegrationRuntimeNodeMonitoringData() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeNodeMonitoringData. @@ -28,7 +29,7 @@ internal IntegrationRuntimeNodeMonitoringData() /// Sent bytes on the integration runtime node. /// Received bytes on the integration runtime node. /// Additional Properties. - internal IntegrationRuntimeNodeMonitoringData(string nodeName, int? availableMemoryInMB, int? cpuUtilization, int? concurrentJobsLimit, int? concurrentJobsRunning, int? maxConcurrentJobs, float? sentBytes, float? receivedBytes, IReadOnlyDictionary additionalProperties) + internal IntegrationRuntimeNodeMonitoringData(string nodeName, int? availableMemoryInMB, int? cpuUtilization, int? concurrentJobsLimit, int? concurrentJobsRunning, int? maxConcurrentJobs, float? sentBytes, float? receivedBytes, IReadOnlyDictionary> additionalProperties) { NodeName = nodeName; AvailableMemoryInMB = availableMemoryInMB; @@ -87,6 +88,6 @@ internal IntegrationRuntimeNodeMonitoringData(string nodeName, int? availableMem /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.Serialization.cs index e05266fd..856c5c59 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -50,7 +51,7 @@ internal static IntegrationRuntimeReference DeserializeIntegrationRuntimeReferen } IntegrationRuntimeReferenceType type = default; string referenceName = default; - Optional> parameters = default; + Optional>> parameters = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -69,7 +70,7 @@ internal static IntegrationRuntimeReference DeserializeIntegrationRuntimeReferen { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -78,7 +79,7 @@ internal static IntegrationRuntimeReference DeserializeIntegrationRuntimeReferen } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } parameters = dictionary; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.cs index 36d5cd3a..882d360c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeReference.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -22,14 +23,14 @@ public IntegrationRuntimeReference(IntegrationRuntimeReferenceType referenceType ReferenceType = referenceType; ReferenceName = referenceName; - Parameters = new ChangeTrackingDictionary(); + Parameters = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeReference. /// Type of integration runtime. /// Reference integration runtime name. /// Arguments for integration runtime. - internal IntegrationRuntimeReference(IntegrationRuntimeReferenceType referenceType, string referenceName, IDictionary parameters) + internal IntegrationRuntimeReference(IntegrationRuntimeReferenceType referenceType, string referenceName, IDictionary> parameters) { ReferenceType = referenceType; ReferenceName = referenceName; @@ -70,6 +71,6 @@ internal IntegrationRuntimeReference(IntegrationRuntimeReferenceType referenceTy /// /// /// - public IDictionary Parameters { get; } + public IDictionary> Parameters { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.Serialization.cs index b58f5f5e..495b82f7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.Serialization.cs @@ -64,8 +64,8 @@ internal static IntegrationRuntimeSsisCatalogInfo DeserializeIntegrationRuntimeS Optional catalogAdminPassword = default; Optional catalogPricingTier = default; Optional dualStandbyPairName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("catalogServerEndpoint"u8)) @@ -101,7 +101,7 @@ internal static IntegrationRuntimeSsisCatalogInfo DeserializeIntegrationRuntimeS dualStandbyPairName = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeSsisCatalogInfo(catalogServerEndpoint.Value, catalogAdminUserName.Value, catalogAdminPassword, Optional.ToNullable(catalogPricingTier), dualStandbyPairName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs index f983fdff..dd81e872 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs @@ -16,7 +16,7 @@ public partial class IntegrationRuntimeSsisCatalogInfo /// Initializes a new instance of IntegrationRuntimeSsisCatalogInfo. public IntegrationRuntimeSsisCatalogInfo() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeSsisCatalogInfo. @@ -26,7 +26,7 @@ public IntegrationRuntimeSsisCatalogInfo() /// The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. /// The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. /// Additional Properties. - internal IntegrationRuntimeSsisCatalogInfo(string catalogServerEndpoint, string catalogAdminUserName, DataFactorySecretString catalogAdminPassword, IntegrationRuntimeSsisCatalogPricingTier? catalogPricingTier, string dualStandbyPairName, IDictionary additionalProperties) + internal IntegrationRuntimeSsisCatalogInfo(string catalogServerEndpoint, string catalogAdminUserName, DataFactorySecretString catalogAdminPassword, IntegrationRuntimeSsisCatalogPricingTier? catalogPricingTier, string dualStandbyPairName, IDictionary> additionalProperties) { CatalogServerEndpoint = catalogServerEndpoint; CatalogAdminUserName = catalogAdminUserName; @@ -76,6 +76,6 @@ internal IntegrationRuntimeSsisCatalogInfo(string catalogServerEndpoint, string /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.Serialization.cs index f52b52ac..e3029ef9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -91,8 +92,8 @@ internal static IntegrationRuntimeSsisProperties DeserializeIntegrationRuntimeSs Optional> expressCustomSetupProperties = default; Optional> packageStores = default; Optional credential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("catalogInfo"u8)) @@ -177,7 +178,7 @@ internal static IntegrationRuntimeSsisProperties DeserializeIntegrationRuntimeSs credential = DataFactoryCredentialReference.DeserializeDataFactoryCredentialReference(property.Value); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeSsisProperties(catalogInfo.Value, Optional.ToNullable(licenseType), customSetupScriptProperties.Value, dataProxyProperties.Value, Optional.ToNullable(edition), Optional.ToList(expressCustomSetupProperties), Optional.ToList(packageStores), credential.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.cs index aceb1356..840a6c05 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeSsisProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -17,7 +18,7 @@ public IntegrationRuntimeSsisProperties() { ExpressCustomSetupProperties = new ChangeTrackingList(); PackageStores = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeSsisProperties. @@ -34,7 +35,7 @@ public IntegrationRuntimeSsisProperties() /// Package stores for the SSIS Integration Runtime. /// The credential reference containing authentication information. /// Additional Properties. - internal IntegrationRuntimeSsisProperties(IntegrationRuntimeSsisCatalogInfo catalogInfo, IntegrationRuntimeLicenseType? licenseType, IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties, IntegrationRuntimeDataProxyProperties dataProxyProperties, IntegrationRuntimeEdition? edition, IList expressCustomSetupProperties, IList packageStores, DataFactoryCredentialReference credential, IDictionary additionalProperties) + internal IntegrationRuntimeSsisProperties(IntegrationRuntimeSsisCatalogInfo catalogInfo, IntegrationRuntimeLicenseType? licenseType, IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties, IntegrationRuntimeDataProxyProperties dataProxyProperties, IntegrationRuntimeEdition? edition, IList expressCustomSetupProperties, IList packageStores, DataFactoryCredentialReference credential, IDictionary> additionalProperties) { CatalogInfo = catalogInfo; LicenseType = licenseType; @@ -97,6 +98,6 @@ internal IntegrationRuntimeSsisProperties(IntegrationRuntimeSsisCatalogInfo cata /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeStatus.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeStatus.cs index 30625d88..980306b3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeStatus.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeStatus.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -19,7 +20,7 @@ public partial class IntegrationRuntimeStatus /// Initializes a new instance of IntegrationRuntimeStatus. internal IntegrationRuntimeStatus() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeStatus. @@ -27,7 +28,7 @@ internal IntegrationRuntimeStatus() /// The data factory name which the integration runtime belong to. /// The state of integration runtime. /// Additional Properties. - internal IntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary additionalProperties) + internal IntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary> additionalProperties) { RuntimeType = runtimeType; DataFactoryName = dataFactoryName; @@ -71,6 +72,6 @@ internal IntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dat /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.Serialization.cs index 1efff85d..d9846da6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -62,8 +63,8 @@ internal static IntegrationRuntimeVnetProperties DeserializeIntegrationRuntimeVn Optional subnet = default; Optional> publicIPs = default; Optional subnetId = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("vNetId"u8)) @@ -103,7 +104,7 @@ internal static IntegrationRuntimeVnetProperties DeserializeIntegrationRuntimeVn subnetId = new ResourceIdentifier(property.Value.GetString()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new IntegrationRuntimeVnetProperties(Optional.ToNullable(vnetId), subnet.Value, Optional.ToList(publicIPs), subnetId.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.cs index c3e39772..586daf9d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/IntegrationRuntimeVnetProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class IntegrationRuntimeVnetProperties public IntegrationRuntimeVnetProperties() { PublicIPs = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of IntegrationRuntimeVnetProperties. @@ -25,7 +26,7 @@ public IntegrationRuntimeVnetProperties() /// Resource IDs of the public IP addresses that this integration runtime will use. /// The ID of subnet, to which this Azure-SSIS integration runtime will be joined. /// Additional Properties. - internal IntegrationRuntimeVnetProperties(Guid? vnetId, string subnet, IList publicIPs, ResourceIdentifier subnetId, IDictionary additionalProperties) + internal IntegrationRuntimeVnetProperties(Guid? vnetId, string subnet, IList publicIPs, ResourceIdentifier subnetId, IDictionary> additionalProperties) { VnetId = vnetId; Subnet = subnet; @@ -72,6 +73,6 @@ internal IntegrationRuntimeVnetProperties(Guid? vnetId, string subnet, IList /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.Serialization.cs index b4f27af4..23787e6c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.Serialization.cs @@ -126,8 +126,8 @@ internal static JiraLinkedService DeserializeJiraLinkedService(JsonElement eleme Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -256,7 +256,7 @@ internal static JiraLinkedService DeserializeJiraLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JiraLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, username, password, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.cs index be02af4a..a0909e70 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraLinkedService.cs @@ -42,7 +42,7 @@ public JiraLinkedService(DataFactoryElement host, DataFactoryElement Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal JiraLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal JiraLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.Serialization.cs index 7ec58a1c..228d34ac 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JiraObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.cs index 20009806..94de01f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraObjectDataset.cs @@ -34,7 +34,7 @@ public JiraObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal JiraObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal JiraObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "JiraObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.Serialization.cs index 4784de4c..23e7e3f4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.Serialization.cs @@ -83,8 +83,8 @@ internal static JiraSource DeserializeJiraSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static JiraSource DeserializeJiraSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JiraSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.cs index 197757db..7e4cdecb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JiraSource.cs @@ -28,7 +28,7 @@ public JiraSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal JiraSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal JiraSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "JiraSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.Serialization.cs index 18ce9c3d..f0a8a222 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.Serialization.cs @@ -116,8 +116,8 @@ internal static JsonDataset DeserializeJsonDataset(JsonElement element) Optional location = default; Optional> encodingName = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -236,7 +236,7 @@ internal static JsonDataset DeserializeJsonDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JsonDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, encodingName.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.cs index 00bb4eff..402874a5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonDataset.cs @@ -40,7 +40,7 @@ public JsonDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(l /// /// The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). /// The data compression method used for the json dataset. - internal JsonDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal JsonDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; EncodingName = encodingName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.Serialization.cs index bb2b2caa..51c9756c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -42,8 +43,8 @@ internal static JsonReadSettings DeserializeJsonReadSettings(JsonElement element } Optional compressionProperties = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("compressionProperties"u8)) @@ -60,7 +61,7 @@ internal static JsonReadSettings DeserializeJsonReadSettings(JsonElement element type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JsonReadSettings(type, additionalProperties, compressionProperties.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.cs index 7e91010e..7593609e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonReadSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// Json read settings. @@ -24,7 +26,7 @@ public JsonReadSettings() /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// - internal JsonReadSettings(string formatReadSettingsType, IDictionary additionalProperties, CompressionReadSettings compressionProperties) : base(formatReadSettingsType, additionalProperties) + internal JsonReadSettings(string formatReadSettingsType, IDictionary> additionalProperties, CompressionReadSettings compressionProperties) : base(formatReadSettingsType, additionalProperties) { CompressionProperties = compressionProperties; FormatReadSettingsType = formatReadSettingsType ?? "JsonReadSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.Serialization.cs index b2bffc85..b666b3fc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.Serialization.cs @@ -85,8 +85,8 @@ internal static JsonSink DeserializeJsonSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -166,7 +166,7 @@ internal static JsonSink DeserializeJsonSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JsonSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.cs index 5b059571..8f488d51 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSink.cs @@ -33,7 +33,7 @@ public JsonSink() /// The available derived classes include , , , , and . /// /// Json format settings. - internal JsonSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreWriteSettings storeSettings, JsonWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal JsonSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreWriteSettings storeSettings, JsonWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.Serialization.cs index bec16489..e958a24e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.Serialization.cs @@ -83,8 +83,8 @@ internal static JsonSource DeserializeJsonSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -155,7 +155,7 @@ internal static JsonSource DeserializeJsonSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JsonSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.cs index 74fbfaf1..49a6b283 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonSource.cs @@ -32,7 +32,7 @@ public JsonSource() /// /// Json format settings. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal JsonSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, JsonReadSettings formatSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal JsonSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, JsonReadSettings formatSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.Serialization.cs index a5d1609a..f1cd00ab 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -46,8 +47,8 @@ internal static JsonWriteSettings DeserializeJsonWriteSettings(JsonElement eleme } Optional filePattern = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("filePattern"u8)) @@ -64,7 +65,7 @@ internal static JsonWriteSettings DeserializeJsonWriteSettings(JsonElement eleme type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new JsonWriteSettings(type, additionalProperties, filePattern.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.cs index e3751c1f..2c93d306 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/JsonWriteSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// Json write settings. @@ -20,7 +22,7 @@ public JsonWriteSettings() /// The write setting type. /// Additional Properties. /// File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. - internal JsonWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties, BinaryData filePattern) : base(formatWriteSettingsType, additionalProperties) + internal JsonWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties, BinaryData filePattern) : base(formatWriteSettingsType, additionalProperties) { FilePattern = filePattern; FormatWriteSettingsType = formatWriteSettingsType ?? "JsonWriteSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.Serialization.cs index f139787a..e6bfec52 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.Serialization.cs @@ -54,8 +54,8 @@ internal static LogStorageSettings DeserializeLogStorageSettings(JsonElement ele Optional> path = default; Optional> logLevel = default; Optional> enableReliableLogging = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -90,7 +90,7 @@ internal static LogStorageSettings DeserializeLogStorageSettings(JsonElement ele enableReliableLogging = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new LogStorageSettings(linkedServiceName, path.Value, logLevel.Value, enableReliableLogging.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.cs index 52dc9276..e0c49aba 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/LogStorageSettings.cs @@ -21,7 +21,7 @@ public LogStorageSettings(DataFactoryLinkedServiceReference linkedServiceName) Argument.AssertNotNull(linkedServiceName, nameof(linkedServiceName)); LinkedServiceName = linkedServiceName; - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of LogStorageSettings. @@ -30,7 +30,7 @@ public LogStorageSettings(DataFactoryLinkedServiceReference linkedServiceName) /// Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). /// Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal LogStorageSettings(DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement path, DataFactoryElement logLevel, DataFactoryElement enableReliableLogging, IDictionary additionalProperties) + internal LogStorageSettings(DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement path, DataFactoryElement logLevel, DataFactoryElement enableReliableLogging, IDictionary> additionalProperties) { LinkedServiceName = linkedServiceName; Path = path; @@ -77,6 +77,6 @@ internal LogStorageSettings(DataFactoryLinkedServiceReference linkedServiceName, /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.Serialization.cs index b49f59b3..d46dbfe0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.Serialization.cs @@ -107,8 +107,8 @@ internal static LookupActivity DeserializeLookupActivity(JsonElement element) CopyActivitySource source = default; DatasetReference dataset = default; Optional> firstRowOnly = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -221,7 +221,7 @@ internal static LookupActivity DeserializeLookupActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new LookupActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, source, dataset, firstRowOnly.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.cs index 00597ac0..1fc40c02 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/LookupActivity.cs @@ -51,7 +51,7 @@ public LookupActivity(string name, CopyActivitySource source, DatasetReference d /// /// Lookup activity dataset reference. /// Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). - internal LookupActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, CopyActivitySource source, DatasetReference dataset, DataFactoryElement firstRowOnly) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal LookupActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, CopyActivitySource source, DatasetReference dataset, DataFactoryElement firstRowOnly) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Source = source; Dataset = dataset; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.Serialization.cs index dc394f66..e700cc2b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static MagentoLinkedService DeserializeMagentoLinkedService(JsonElement Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static MagentoLinkedService DeserializeMagentoLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MagentoLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, accessToken, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.cs index 70594c67..de302525 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoLinkedService.cs @@ -37,7 +37,7 @@ public MagentoLinkedService(DataFactoryElement host) /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal MagentoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactorySecretBaseDefinition accessToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MagentoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactorySecretBaseDefinition accessToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; AccessToken = accessToken; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.Serialization.cs index e2a9bf8f..5d4beb30 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static MagentoObjectDataset DeserializeMagentoObjectDataset(JsonElement Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static MagentoObjectDataset DeserializeMagentoObjectDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MagentoObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.cs index ce1e54ad..5480fd61 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoObjectDataset.cs @@ -34,7 +34,7 @@ public MagentoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal MagentoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MagentoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MagentoObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.Serialization.cs index b1adcf37..af025df6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.Serialization.cs @@ -83,8 +83,8 @@ internal static MagentoSource DeserializeMagentoSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static MagentoSource DeserializeMagentoSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MagentoSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.cs index 2fc064c2..1e1a4e27 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MagentoSource.cs @@ -28,7 +28,7 @@ public MagentoSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal MagentoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal MagentoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "MagentoSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.Serialization.cs index 644f2607..b19f4968 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -70,8 +71,8 @@ internal static ManagedIntegrationRuntime DeserializeManagedIntegrationRuntime(J Optional computeProperties = default; Optional ssisProperties = default; Optional customerVirtualNetwork = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("state"u8)) @@ -141,7 +142,7 @@ internal static ManagedIntegrationRuntime DeserializeManagedIntegrationRuntime(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ManagedIntegrationRuntime(type, description.Value, additionalProperties, Optional.ToNullable(state), managedVirtualNetwork.Value, computeProperties.Value, ssisProperties.Value, customerVirtualNetwork.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.cs index 894845d5..2649e181 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntime.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -27,7 +28,7 @@ public ManagedIntegrationRuntime() /// The compute resource for managed integration runtime. /// SSIS properties for managed integration runtime. /// The name of virtual network to which Azure-SSIS integration runtime will join. - internal ManagedIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary additionalProperties, IntegrationRuntimeState? state, ManagedVirtualNetworkReference managedVirtualNetwork, IntegrationRuntimeComputeProperties computeProperties, IntegrationRuntimeSsisProperties ssisProperties, IntegrationRuntimeCustomerVirtualNetwork customerVirtualNetwork) : base(integrationRuntimeType, description, additionalProperties) + internal ManagedIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary> additionalProperties, IntegrationRuntimeState? state, ManagedVirtualNetworkReference managedVirtualNetwork, IntegrationRuntimeComputeProperties computeProperties, IntegrationRuntimeSsisProperties ssisProperties, IntegrationRuntimeCustomerVirtualNetwork customerVirtualNetwork) : base(integrationRuntimeType, description, additionalProperties) { State = state; ManagedVirtualNetwork = managedVirtualNetwork; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.Serialization.cs index 9421faf6..6ce56e5b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -22,8 +23,8 @@ internal static ManagedIntegrationRuntimeError DeserializeManagedIntegrationRunt Optional code = default; Optional> parameters = default; Optional message = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("time"u8)) @@ -59,7 +60,7 @@ internal static ManagedIntegrationRuntimeError DeserializeManagedIntegrationRunt message = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ManagedIntegrationRuntimeError(Optional.ToNullable(time), code.Value, Optional.ToList(parameters), message.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.cs index bfc5ef9b..ce1cfe99 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeError.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class ManagedIntegrationRuntimeError internal ManagedIntegrationRuntimeError() { Parameters = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ManagedIntegrationRuntimeError. @@ -25,7 +26,7 @@ internal ManagedIntegrationRuntimeError() /// Managed integration runtime error parameters. /// Error message. /// Additional Properties. - internal ManagedIntegrationRuntimeError(DateTimeOffset? time, string code, IReadOnlyList parameters, string message, IReadOnlyDictionary additionalProperties) + internal ManagedIntegrationRuntimeError(DateTimeOffset? time, string code, IReadOnlyList parameters, string message, IReadOnlyDictionary> additionalProperties) { Time = time; Code = code; @@ -72,6 +73,6 @@ internal ManagedIntegrationRuntimeError(DateTimeOffset? time, string code, IRead /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.Serialization.cs index 5e810518..4570d26e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -21,8 +22,8 @@ internal static ManagedIntegrationRuntimeNode DeserializeManagedIntegrationRunti Optional nodeId = default; Optional status = default; Optional> errors = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("nodeId"u8)) @@ -53,7 +54,7 @@ internal static ManagedIntegrationRuntimeNode DeserializeManagedIntegrationRunti errors = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ManagedIntegrationRuntimeNode(nodeId.Value, Optional.ToNullable(status), Optional.ToList(errors), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.cs index 99e883bc..41660d2a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeNode.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class ManagedIntegrationRuntimeNode internal ManagedIntegrationRuntimeNode() { Errors = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ManagedIntegrationRuntimeNode. @@ -24,7 +25,7 @@ internal ManagedIntegrationRuntimeNode() /// The managed integration runtime node status. /// The errors that occurred on this integration runtime node. /// Additional Properties. - internal ManagedIntegrationRuntimeNode(string nodeId, ManagedIntegrationRuntimeNodeStatus? status, IReadOnlyList errors, IReadOnlyDictionary additionalProperties) + internal ManagedIntegrationRuntimeNode(string nodeId, ManagedIntegrationRuntimeNodeStatus? status, IReadOnlyList errors, IReadOnlyDictionary> additionalProperties) { NodeId = nodeId; Status = status; @@ -68,6 +69,6 @@ internal ManagedIntegrationRuntimeNode(string nodeId, ManagedIntegrationRuntimeN /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.Serialization.cs index b88e54ff..f5db54eb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -24,8 +25,8 @@ internal static ManagedIntegrationRuntimeOperationResult DeserializeManagedInteg Optional errorCode = default; Optional> parameters = default; Optional activityId = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -71,7 +72,7 @@ internal static ManagedIntegrationRuntimeOperationResult DeserializeManagedInteg activityId = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ManagedIntegrationRuntimeOperationResult(type.Value, Optional.ToNullable(startTime), result.Value, errorCode.Value, Optional.ToList(parameters), activityId.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs index fcb51281..b6ed0cb8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class ManagedIntegrationRuntimeOperationResult internal ManagedIntegrationRuntimeOperationResult() { Parameters = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ManagedIntegrationRuntimeOperationResult. @@ -27,7 +28,7 @@ internal ManagedIntegrationRuntimeOperationResult() /// Managed integration runtime error parameters. /// The activity id for the operation request. /// Additional Properties. - internal ManagedIntegrationRuntimeOperationResult(string managedIntegrationRuntimeOperationResultType, DateTimeOffset? startOn, string result, string errorCode, IReadOnlyList parameters, string activityId, IReadOnlyDictionary additionalProperties) + internal ManagedIntegrationRuntimeOperationResult(string managedIntegrationRuntimeOperationResultType, DateTimeOffset? startOn, string result, string errorCode, IReadOnlyList parameters, string activityId, IReadOnlyDictionary> additionalProperties) { ManagedIntegrationRuntimeOperationResultType = managedIntegrationRuntimeOperationResultType; StartOn = startOn; @@ -80,6 +81,6 @@ internal ManagedIntegrationRuntimeOperationResult(string managedIntegrationRunti /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.Serialization.cs index 95daf9a8..aebd3f24 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -25,8 +26,8 @@ internal static ManagedIntegrationRuntimeStatus DeserializeManagedIntegrationRun Optional> nodes = default; Optional> otherErrors = default; Optional lastOperation = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -106,7 +107,7 @@ internal static ManagedIntegrationRuntimeStatus DeserializeManagedIntegrationRun } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ManagedIntegrationRuntimeStatus(type, dataFactoryName.Value, Optional.ToNullable(state), additionalProperties, Optional.ToNullable(createTime), Optional.ToList(nodes), Optional.ToList(otherErrors), lastOperation.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.cs index 48d1a53a..41f932fc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ManagedIntegrationRuntimeStatus.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -29,7 +30,7 @@ internal ManagedIntegrationRuntimeStatus() /// The list of nodes for managed integration runtime. /// The errors that occurred on this integration runtime. /// The last operation result that occurred on this integration runtime. - internal ManagedIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary additionalProperties, DateTimeOffset? createdOn, IReadOnlyList nodes, IReadOnlyList otherErrors, ManagedIntegrationRuntimeOperationResult lastOperation) : base(runtimeType, dataFactoryName, state, additionalProperties) + internal ManagedIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary> additionalProperties, DateTimeOffset? createdOn, IReadOnlyList nodes, IReadOnlyList otherErrors, ManagedIntegrationRuntimeOperationResult lastOperation) : base(runtimeType, dataFactoryName, state, additionalProperties) { CreatedOn = createdOn; Nodes = nodes; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.Serialization.cs index 904f25be..6533ca8f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static MariaDBLinkedService DeserializeMariaDBLinkedService(JsonElement Optional> connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static MariaDBLinkedService DeserializeMariaDBLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MariaDBLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.cs index c84cbd5c..2f0bb3dd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBLinkedService.cs @@ -28,7 +28,7 @@ public MariaDBLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal MariaDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MariaDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.Serialization.cs index 00db58cc..b94b2957 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.Serialization.cs @@ -83,8 +83,8 @@ internal static MariaDBSource DeserializeMariaDBSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static MariaDBSource DeserializeMariaDBSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MariaDBSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.cs index 2ee33624..c4e2afb2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBSource.cs @@ -28,7 +28,7 @@ public MariaDBSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal MariaDBSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal MariaDBSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "MariaDBSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.Serialization.cs index 4ec2d5a0..1747fa2f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static MariaDBTableDataset DeserializeMariaDBTableDataset(JsonElement e Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static MariaDBTableDataset DeserializeMariaDBTableDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MariaDBTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.cs index c3f0cda4..83f9f9e7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MariaDBTableDataset.cs @@ -34,7 +34,7 @@ public MariaDBTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal MariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MariaDBTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.Serialization.cs index 89d1231e..f4811900 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static MarketoLinkedService DeserializeMarketoLinkedService(JsonElement Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -241,7 +241,7 @@ internal static MarketoLinkedService DeserializeMarketoLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MarketoLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, clientId, clientSecret, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.cs index 0d4c1cbd..1a2968db 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoLinkedService.cs @@ -41,7 +41,7 @@ public MarketoLinkedService(DataFactoryElement endpoint, DataFactoryElem /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal MarketoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement endpoint, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MarketoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement endpoint, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; ClientId = clientId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.Serialization.cs index cc3d17be..db66658b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static MarketoObjectDataset DeserializeMarketoObjectDataset(JsonElement Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static MarketoObjectDataset DeserializeMarketoObjectDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MarketoObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.cs index 036ea888..d532295b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoObjectDataset.cs @@ -34,7 +34,7 @@ public MarketoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal MarketoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MarketoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MarketoObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.Serialization.cs index 02d54e7e..cff1b578 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.Serialization.cs @@ -83,8 +83,8 @@ internal static MarketoSource DeserializeMarketoSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static MarketoSource DeserializeMarketoSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MarketoSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.cs index e9c447a8..d1072be8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MarketoSource.cs @@ -28,7 +28,7 @@ public MarketoSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal MarketoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal MarketoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "MarketoSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.Serialization.cs index 17c1465a..0ab38351 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static MicrosoftAccessLinkedService DeserializeMicrosoftAccessLinkedSer Optional> userName = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static MicrosoftAccessLinkedService DeserializeMicrosoftAccessLinkedSer } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MicrosoftAccessLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, authenticationType.Value, credential, userName.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.cs index 2581afcb..8c6d6d9c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessLinkedService.cs @@ -37,7 +37,7 @@ public MicrosoftAccessLinkedService(DataFactoryElement connectionString) /// User name for Basic authentication. Type: string (or Expression with resultType string). /// Password for Basic authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal MicrosoftAccessLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement authenticationType, DataFactorySecretBaseDefinition credential, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MicrosoftAccessLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement authenticationType, DataFactorySecretBaseDefinition credential, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.Serialization.cs index d55d9800..6fe939f7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.Serialization.cs @@ -79,8 +79,8 @@ internal static MicrosoftAccessSink DeserializeMicrosoftAccessSink(JsonElement e Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -151,7 +151,7 @@ internal static MicrosoftAccessSink DeserializeMicrosoftAccessSink(JsonElement e disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MicrosoftAccessSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.cs index f2e73d0d..6f3e963b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSink.cs @@ -28,7 +28,7 @@ public MicrosoftAccessSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// A query to execute before starting the copy. Type: string (or Expression with resultType string). - internal MicrosoftAccessSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MicrosoftAccessSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; CopySinkType = copySinkType ?? "MicrosoftAccessSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.Serialization.cs index f2ca1ab8..d45ef9c0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.Serialization.cs @@ -77,8 +77,8 @@ internal static MicrosoftAccessSource DeserializeMicrosoftAccessSource(JsonEleme Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -140,7 +140,7 @@ internal static MicrosoftAccessSource DeserializeMicrosoftAccessSource(JsonEleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MicrosoftAccessSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.cs index be894567..a3a06af3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessSource.cs @@ -27,7 +27,7 @@ public MicrosoftAccessSource() /// Additional Properties. /// Database query. Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal MicrosoftAccessSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MicrosoftAccessSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs index 79f05e49..e29f85be 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static MicrosoftAccessTableDataset DeserializeMicrosoftAccessTableDatas Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static MicrosoftAccessTableDataset DeserializeMicrosoftAccessTableDatas } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MicrosoftAccessTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.cs index 6b55674d..8ed32d07 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MicrosoftAccessTableDataset.cs @@ -34,7 +34,7 @@ public MicrosoftAccessTableDataset(DataFactoryLinkedServiceReference linkedServi /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Microsoft Access table name. Type: string (or Expression with resultType string). - internal MicrosoftAccessTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MicrosoftAccessTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MicrosoftAccessTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs index b29e55f8..1f6dd9bc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static MongoDBAtlasCollectionDataset DeserializeMongoDBAtlasCollectionD Optional> annotations = default; Optional folder = default; DataFactoryElement collection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static MongoDBAtlasCollectionDataset DeserializeMongoDBAtlasCollectionD } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBAtlasCollectionDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, collection); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.cs index e3333111..cf62a054 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasCollectionDataset.cs @@ -37,7 +37,7 @@ public MongoDBAtlasCollectionDataset(DataFactoryLinkedServiceReference linkedSer /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). - internal MongoDBAtlasCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MongoDBAtlasCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Collection = collection; DatasetType = datasetType ?? "MongoDbAtlasCollection"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.Serialization.cs index 9e4835a1..e7333d57 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.Serialization.cs @@ -96,8 +96,8 @@ internal static MongoDBAtlasLinkedService DeserializeMongoDBAtlasLinkedService(J DataFactoryElement connectionString = default; DataFactoryElement database = default; Optional> driverVersion = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -185,7 +185,7 @@ internal static MongoDBAtlasLinkedService DeserializeMongoDBAtlasLinkedService(J } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBAtlasLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, database, driverVersion.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.cs index 79d12f0e..e51ee747 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasLinkedService.cs @@ -37,7 +37,7 @@ public MongoDBAtlasLinkedService(DataFactoryElement connectionString, Da /// The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. /// The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string). /// The driver version that you want to choose. Allowed value are v1 and v2. Type: string (or Expression with resultType string). - internal MongoDBAtlasLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement database, DataFactoryElement driverVersion) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MongoDBAtlasLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement database, DataFactoryElement driverVersion) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Database = database; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.Serialization.cs index ee8d1bf5..2be67e0c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.Serialization.cs @@ -79,8 +79,8 @@ internal static MongoDBAtlasSink DeserializeMongoDBAtlasSink(JsonElement element Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -151,7 +151,7 @@ internal static MongoDBAtlasSink DeserializeMongoDBAtlasSink(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBAtlasSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.cs index e244881e..01c6b604 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSink.cs @@ -28,7 +28,7 @@ public MongoDBAtlasSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). - internal MongoDBAtlasSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MongoDBAtlasSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; CopySinkType = copySinkType ?? "MongoDbAtlasSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.Serialization.cs index 2cf11024..9d245049 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.Serialization.cs @@ -95,8 +95,8 @@ internal static MongoDBAtlasSource DeserializeMongoDBAtlasSource(JsonElement ele Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("filter"u8)) @@ -185,7 +185,7 @@ internal static MongoDBAtlasSource DeserializeMongoDBAtlasSource(JsonElement ele disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBAtlasSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, filter.Value, cursorMethods.Value, batchSize.Value, queryTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.cs index b9fcb39a..45d78b06 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBAtlasSource.cs @@ -30,7 +30,7 @@ public MongoDBAtlasSource() /// Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal MongoDBAtlasSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement filter, MongoDBCursorMethodsProperties cursorMethods, DataFactoryElement batchSize, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MongoDBAtlasSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement filter, MongoDBCursorMethodsProperties cursorMethods, DataFactoryElement batchSize, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Filter = filter; CursorMethods = cursorMethods; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.Serialization.cs index 9255af5e..80dbb3a1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static MongoDBCollectionDataset DeserializeMongoDBCollectionDataset(Jso Optional> annotations = default; Optional folder = default; DataFactoryElement collectionName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static MongoDBCollectionDataset DeserializeMongoDBCollectionDataset(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBCollectionDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, collectionName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.cs index 629b34e6..886f5912 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCollectionDataset.cs @@ -37,7 +37,7 @@ public MongoDBCollectionDataset(DataFactoryLinkedServiceReference linkedServiceN /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name of the MongoDB database. Type: string (or Expression with resultType string). - internal MongoDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MongoDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { CollectionName = collectionName; DatasetType = datasetType ?? "MongoDbCollection"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.Serialization.cs index 673c327d..5bad6917 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.Serialization.cs @@ -58,8 +58,8 @@ internal static MongoDBCursorMethodsProperties DeserializeMongoDBCursorMethodsPr Optional> sort = default; Optional> skip = default; Optional> limit = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("project"u8)) @@ -98,7 +98,7 @@ internal static MongoDBCursorMethodsProperties DeserializeMongoDBCursorMethodsPr limit = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBCursorMethodsProperties(project.Value, sort.Value, skip.Value, limit.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.cs index acd1e1b8..20671595 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBCursorMethodsProperties.cs @@ -16,7 +16,7 @@ public partial class MongoDBCursorMethodsProperties /// Initializes a new instance of MongoDBCursorMethodsProperties. public MongoDBCursorMethodsProperties() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of MongoDBCursorMethodsProperties. @@ -25,7 +25,7 @@ public MongoDBCursorMethodsProperties() /// Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer). /// Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer). /// Additional Properties. - internal MongoDBCursorMethodsProperties(DataFactoryElement project, DataFactoryElement sort, DataFactoryElement skip, DataFactoryElement limit, IDictionary additionalProperties) + internal MongoDBCursorMethodsProperties(DataFactoryElement project, DataFactoryElement sort, DataFactoryElement skip, DataFactoryElement limit, IDictionary> additionalProperties) { Project = project; Sort = sort; @@ -72,6 +72,6 @@ internal MongoDBCursorMethodsProperties(DataFactoryElement project, Data /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.Serialization.cs index 78a656e3..b1f32689 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.Serialization.cs @@ -138,8 +138,8 @@ internal static MongoDBLinkedService DeserializeMongoDBLinkedService(JsonElement Optional> enableSsl = default; Optional> allowSelfSignedServerCert = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -286,7 +286,7 @@ internal static MongoDBLinkedService DeserializeMongoDBLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server, Optional.ToNullable(authenticationType), databaseName, username.Value, password, authSource.Value, port.Value, enableSsl.Value, allowSelfSignedServerCert.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.cs index f88055c3..2ec72dd4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBLinkedService.cs @@ -44,7 +44,7 @@ public MongoDBLinkedService(DataFactoryElement server, DataFactoryElemen /// Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). /// Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal MongoDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, MongoDBAuthenticationType? authenticationType, DataFactoryElement databaseName, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement authSource, DataFactoryElement port, DataFactoryElement enableSsl, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MongoDBLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, MongoDBAuthenticationType? authenticationType, DataFactoryElement databaseName, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement authSource, DataFactoryElement port, DataFactoryElement enableSsl, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.Serialization.cs index 925be821..cd2a5b9c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.Serialization.cs @@ -77,8 +77,8 @@ internal static MongoDBSource DeserializeMongoDBSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -140,7 +140,7 @@ internal static MongoDBSource DeserializeMongoDBSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.cs index 90a01d82..734282ed 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBSource.cs @@ -27,7 +27,7 @@ public MongoDBSource() /// Additional Properties. /// Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal MongoDBSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MongoDBSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs index ae57c3f4..253f8769 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static MongoDBV2CollectionDataset DeserializeMongoDBV2CollectionDataset Optional> annotations = default; Optional folder = default; DataFactoryElement collection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static MongoDBV2CollectionDataset DeserializeMongoDBV2CollectionDataset } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBV2CollectionDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, collection); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.cs index fd569294..f14c87d4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2CollectionDataset.cs @@ -37,7 +37,7 @@ public MongoDBV2CollectionDataset(DataFactoryLinkedServiceReference linkedServic /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The collection name of the MongoDB database. Type: string (or Expression with resultType string). - internal MongoDBV2CollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MongoDBV2CollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Collection = collection; DatasetType = datasetType ?? "MongoDbV2Collection"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.Serialization.cs index 8938d80d..089f82c4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.Serialization.cs @@ -90,8 +90,8 @@ internal static MongoDBV2LinkedService DeserializeMongoDBV2LinkedService(JsonEle Optional> annotations = default; DataFactoryElement connectionString = default; DataFactoryElement database = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -170,7 +170,7 @@ internal static MongoDBV2LinkedService DeserializeMongoDBV2LinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBV2LinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, database); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.cs index f375a0be..11c401df 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2LinkedService.cs @@ -36,7 +36,7 @@ public MongoDBV2LinkedService(DataFactoryElement connectionString, DataF /// Additional Properties. /// The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. /// The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). - internal MongoDBV2LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement database) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MongoDBV2LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement database) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Database = database; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.Serialization.cs index f6c4c186..5c70b62f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.Serialization.cs @@ -79,8 +79,8 @@ internal static MongoDBV2Sink DeserializeMongoDBV2Sink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -151,7 +151,7 @@ internal static MongoDBV2Sink DeserializeMongoDBV2Sink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBV2Sink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, writeBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.cs index c31dcb88..b6005c20 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Sink.cs @@ -28,7 +28,7 @@ public MongoDBV2Sink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). - internal MongoDBV2Sink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MongoDBV2Sink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement writeBehavior) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; CopySinkType = copySinkType ?? "MongoDbV2Sink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.Serialization.cs index 0cb3ac19..f63aac06 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.Serialization.cs @@ -95,8 +95,8 @@ internal static MongoDBV2Source DeserializeMongoDBV2Source(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("filter"u8)) @@ -185,7 +185,7 @@ internal static MongoDBV2Source DeserializeMongoDBV2Source(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MongoDBV2Source(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, filter.Value, cursorMethods.Value, batchSize.Value, queryTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.cs index 0bda33a5..e47c884a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MongoDBV2Source.cs @@ -30,7 +30,7 @@ public MongoDBV2Source() /// Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal MongoDBV2Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement filter, MongoDBCursorMethodsProperties cursorMethods, DataFactoryElement batchSize, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal MongoDBV2Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement filter, MongoDBCursorMethodsProperties cursorMethods, DataFactoryElement batchSize, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Filter = filter; CursorMethods = cursorMethods; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.Serialization.cs index c1f0d56d..21138b3c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -84,8 +85,8 @@ internal static MultiplePipelineTrigger DeserializeMultiplePipelineTrigger(JsonE Optional description = default; Optional runtimeState = default; Optional> annotations = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelines"u8)) @@ -142,7 +143,7 @@ internal static MultiplePipelineTrigger DeserializeMultiplePipelineTrigger(JsonE annotations = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MultiplePipelineTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, Optional.ToList(pipelines)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.cs index 2bfb357c..fef9ddda 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MultiplePipelineTrigger.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -30,7 +31,7 @@ public MultiplePipelineTrigger() /// List of tags that can be used for describing the trigger. /// Additional Properties. /// Pipelines that need to be started. - internal MultiplePipelineTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, IList pipelines) : base(triggerType, description, runtimeState, annotations, additionalProperties) + internal MultiplePipelineTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, IList pipelines) : base(triggerType, description, runtimeState, annotations, additionalProperties) { Pipelines = pipelines; TriggerType = triggerType ?? "MultiplePipelineTrigger"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.Serialization.cs index b43bec18..d877dbf7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static MySqlLinkedService DeserializeMySqlLinkedService(JsonElement ele DataFactoryElement connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -188,7 +188,7 @@ internal static MySqlLinkedService DeserializeMySqlLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MySqlLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.cs index ef67e298..432ae79e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlLinkedService.cs @@ -34,7 +34,7 @@ public MySqlLinkedService(DataFactoryElement connectionString) /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal MySqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal MySqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.Serialization.cs index e9ef229f..5de61b4d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.Serialization.cs @@ -83,8 +83,8 @@ internal static MySqlSource DeserializeMySqlSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static MySqlSource DeserializeMySqlSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MySqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.cs index 347bbeb8..7a44f87b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlSource.cs @@ -28,7 +28,7 @@ public MySqlSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal MySqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal MySqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "MySqlSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.Serialization.cs index 8eaa170e..2212e2ba 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static MySqlTableDataset DeserializeMySqlTableDataset(JsonElement eleme Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static MySqlTableDataset DeserializeMySqlTableDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new MySqlTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.cs index 62075cd9..1c55769c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/MySqlTableDataset.cs @@ -34,7 +34,7 @@ public MySqlTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The MySQL table name. Type: string (or Expression with resultType string). - internal MySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MySqlTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.Serialization.cs index c73ed621..ac102ce4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static NetezzaLinkedService DeserializeNetezzaLinkedService(JsonElement Optional> connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static NetezzaLinkedService DeserializeNetezzaLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new NetezzaLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.cs index 6b90da9b..5cbcc6b5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaLinkedService.cs @@ -28,7 +28,7 @@ public NetezzaLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal NetezzaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal NetezzaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.Serialization.cs index e2faf510..717a3325 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.Serialization.cs @@ -99,8 +99,8 @@ internal static NetezzaSource DeserializeNetezzaSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -189,7 +189,7 @@ internal static NetezzaSource DeserializeNetezzaSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new NetezzaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.cs index 0cabc1e3..817f2420 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaSource.cs @@ -30,7 +30,7 @@ public NetezzaSource() /// A query to retrieve data from source. Type: string (or Expression with resultType string). /// The partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". /// The settings that will be leveraged for Netezza source partitioning. - internal NetezzaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, BinaryData partitionOption, NetezzaPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal NetezzaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, BinaryData partitionOption, NetezzaPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; PartitionOption = partitionOption; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.Serialization.cs index 4db6b443..c4595f40 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static NetezzaTableDataset DeserializeNetezzaTableDataset(JsonElement e Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static NetezzaTableDataset DeserializeNetezzaTableDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new NetezzaTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.cs index 35ac0c39..6c08ba80 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/NetezzaTableDataset.cs @@ -36,7 +36,7 @@ public NetezzaTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Netezza. Type: string (or Expression with resultType string). /// The schema name of the Netezza. Type: string (or Expression with resultType string). - internal NetezzaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal NetezzaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.Serialization.cs index 9638f765..3e8e8be6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.Serialization.cs @@ -165,8 +165,8 @@ internal static ODataLinkedService DeserializeODataLinkedService(JsonElement ele Optional servicePrincipalEmbeddedCert = default; Optional servicePrincipalEmbeddedCertPassword = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -353,7 +353,7 @@ internal static ODataLinkedService DeserializeODataLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ODataLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, Optional.ToNullable(authenticationType), userName.Value, password, authHeaders.Value, tenant.Value, servicePrincipalId.Value, azureCloudType.Value, aadResourceId.Value, Optional.ToNullable(aadServicePrincipalCredentialType), servicePrincipalKey, servicePrincipalEmbeddedCert, servicePrincipalEmbeddedCertPassword, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.cs index 075b3e6a..f47bc16b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataLinkedService.cs @@ -45,7 +45,7 @@ public ODataLinkedService(DataFactoryElement uri) /// Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). /// Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ODataLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, ODataAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement tenant, DataFactoryElement servicePrincipalId, DataFactoryElement azureCloudType, DataFactoryElement aadResourceId, ODataAadServicePrincipalCredentialType? aadServicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCert, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCertPassword, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ODataLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, ODataAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement tenant, DataFactoryElement servicePrincipalId, DataFactoryElement azureCloudType, DataFactoryElement aadResourceId, ODataAadServicePrincipalCredentialType? aadServicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCert, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCertPassword, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.Serialization.cs index f1f2f2ce..87afec4b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static ODataResourceDataset DeserializeODataResourceDataset(JsonElement Optional> annotations = default; Optional folder = default; Optional> path = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static ODataResourceDataset DeserializeODataResourceDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ODataResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, path.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.cs index fa5ec2cf..4c974dff 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataResourceDataset.cs @@ -34,7 +34,7 @@ public ODataResourceDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The OData resource path. Type: string (or Expression with resultType string). - internal ODataResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ODataResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "ODataResource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.Serialization.cs index c68263e5..2b2e39c5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.Serialization.cs @@ -83,8 +83,8 @@ internal static ODataSource DeserializeODataSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ODataSource DeserializeODataSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ODataSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, httpRequestTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.cs index 40a8192d..fd032f0e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ODataSource.cs @@ -28,7 +28,7 @@ public ODataSource() /// OData query. For example, "$top=1". Type: string (or Expression with resultType string). /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal ODataSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, DataFactoryElement httpRequestTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal ODataSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, DataFactoryElement httpRequestTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; HttpRequestTimeout = httpRequestTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.Serialization.cs index ddcb6bed..4cc3b2e9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static OdbcLinkedService DeserializeOdbcLinkedService(JsonElement eleme Optional> userName = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static OdbcLinkedService DeserializeOdbcLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OdbcLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, authenticationType.Value, credential, userName.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.cs index ac62aa93..30c2d199 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcLinkedService.cs @@ -37,7 +37,7 @@ public OdbcLinkedService(DataFactoryElement connectionString) /// User name for Basic authentication. Type: string (or Expression with resultType string). /// Password for Basic authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal OdbcLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement authenticationType, DataFactorySecretBaseDefinition credential, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal OdbcLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement authenticationType, DataFactorySecretBaseDefinition credential, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.Serialization.cs index 813367a6..8803bbe1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.Serialization.cs @@ -79,8 +79,8 @@ internal static OdbcSink DeserializeOdbcSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -151,7 +151,7 @@ internal static OdbcSink DeserializeOdbcSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OdbcSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.cs index 79e5e9bb..44bfcf35 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSink.cs @@ -28,7 +28,7 @@ public OdbcSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// A query to execute before starting the copy. Type: string (or Expression with resultType string). - internal OdbcSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal OdbcSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; CopySinkType = copySinkType ?? "OdbcSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.Serialization.cs index af36aabb..64d3b905 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.Serialization.cs @@ -83,8 +83,8 @@ internal static OdbcSource DeserializeOdbcSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static OdbcSource DeserializeOdbcSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OdbcSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.cs index 4c6e0de4..70d7a490 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcSource.cs @@ -28,7 +28,7 @@ public OdbcSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal OdbcSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal OdbcSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "OdbcSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.Serialization.cs index 36da18ea..6c4d14a8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static OdbcTableDataset DeserializeOdbcTableDataset(JsonElement element Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static OdbcTableDataset DeserializeOdbcTableDataset(JsonElement element } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OdbcTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.cs index 0b0c835d..74eec4e1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OdbcTableDataset.cs @@ -34,7 +34,7 @@ public OdbcTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The ODBC table name. Type: string (or Expression with resultType string). - internal OdbcTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OdbcTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "OdbcTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.Serialization.cs index 144a792b..fcd0f9e6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.Serialization.cs @@ -107,8 +107,8 @@ internal static Office365Dataset DeserializeOffice365Dataset(JsonElement element Optional folder = default; DataFactoryElement tableName = default; Optional> predicate = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -214,7 +214,7 @@ internal static Office365Dataset DeserializeOffice365Dataset(JsonElement element } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Office365Dataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName, predicate.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.cs index 773021b7..ff9e9bbf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Dataset.cs @@ -38,7 +38,7 @@ public Office365Dataset(DataFactoryLinkedServiceReference linkedServiceName, Dat /// Additional Properties. /// Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). /// A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). - internal Office365Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement predicate) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal Office365Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName, DataFactoryElement predicate) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Predicate = predicate; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.Serialization.cs index fbdbdc83..1d33c0d0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.Serialization.cs @@ -101,8 +101,8 @@ internal static Office365LinkedService DeserializeOffice365LinkedService(JsonEle DataFactoryElement servicePrincipalId = default; DataFactorySecretBaseDefinition servicePrincipalKey = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -196,7 +196,7 @@ internal static Office365LinkedService DeserializeOffice365LinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Office365LinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, office365TenantId, servicePrincipalTenantId, servicePrincipalId, servicePrincipalKey, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.cs index ceb0df28..cd6d1fc0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365LinkedService.cs @@ -45,7 +45,7 @@ public Office365LinkedService(DataFactoryElement office365TenantId, Data /// Specify the application's client ID. Type: string (or Expression with resultType string). /// Specify the application's key. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal Office365LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement office365TenantId, DataFactoryElement servicePrincipalTenantId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal Office365LinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement office365TenantId, DataFactoryElement servicePrincipalTenantId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Office365TenantId = office365TenantId; ServicePrincipalTenantId = servicePrincipalTenantId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.Serialization.cs index 988331b7..70b17971 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.Serialization.cs @@ -97,8 +97,8 @@ internal static Office365Source DeserializeOffice365Source(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("allowedGroups"u8)) @@ -196,7 +196,7 @@ internal static Office365Source DeserializeOffice365Source(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new Office365Source(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, allowedGroups.Value, userScopeFilterUri.Value, dateFilterColumn.Value, startTime.Value, endTime.Value, outputColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.cs index 8e792e8b..ea2da318 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/Office365Source.cs @@ -31,7 +31,7 @@ public Office365Source() /// Start time of the requested range for this dataset. Type: string (or Expression with resultType string). /// End time of the requested range for this dataset. Type: string (or Expression with resultType string). /// The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]. - internal Office365Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement> allowedGroups, DataFactoryElement userScopeFilterUri, DataFactoryElement dateFilterColumn, DataFactoryElement startOn, DataFactoryElement endOn, DataFactoryElement> outputColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal Office365Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement> allowedGroups, DataFactoryElement userScopeFilterUri, DataFactoryElement dateFilterColumn, DataFactoryElement startOn, DataFactoryElement endOn, DataFactoryElement> outputColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { AllowedGroups = allowedGroups; UserScopeFilterUri = userScopeFilterUri; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.Serialization.cs index e7d94b5b..1f22c864 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.Serialization.cs @@ -108,8 +108,8 @@ internal static OracleCloudStorageLinkedService DeserializeOracleCloudStorageLin Optional secretAccessKey = default; Optional> serviceUrl = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -210,7 +210,7 @@ internal static OracleCloudStorageLinkedService DeserializeOracleCloudStorageLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleCloudStorageLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, accessKeyId.Value, secretAccessKey, serviceUrl.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.cs index 0c6c986a..8c1c3937 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLinkedService.cs @@ -29,7 +29,7 @@ public OracleCloudStorageLinkedService() /// The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. /// This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal OracleCloudStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal OracleCloudStorageLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement accessKeyId, DataFactorySecretBaseDefinition secretAccessKey, DataFactoryElement serviceUri, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AccessKeyId = accessKeyId; SecretAccessKey = secretAccessKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.Serialization.cs index fadea1eb..7a7aed3b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.Serialization.cs @@ -61,8 +61,8 @@ internal static OracleCloudStorageLocation DeserializeOracleCloudStorageLocation string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("bucketName"u8)) @@ -106,7 +106,7 @@ internal static OracleCloudStorageLocation DeserializeOracleCloudStorageLocation fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleCloudStorageLocation(type, folderPath.Value, fileName.Value, additionalProperties, bucketName.Value, version.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.cs index def221d3..93b06bee 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageLocation.cs @@ -25,7 +25,7 @@ public OracleCloudStorageLocation() /// Additional Properties. /// Specify the bucketName of Oracle Cloud Storage. Type: string (or Expression with resultType string). /// Specify the version of Oracle Cloud Storage. Type: string (or Expression with resultType string). - internal OracleCloudStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal OracleCloudStorageLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties, DataFactoryElement bucketName, DataFactoryElement version) : base(datasetLocationType, folderPath, fileName, additionalProperties) { BucketName = bucketName; Version = version; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.Serialization.cs index b8e812c7..054c4161 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static OracleCloudStorageReadSettings DeserializeOracleCloudStorageRead string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static OracleCloudStorageReadSettings DeserializeOracleCloudStorageRead disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleCloudStorageReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.cs index 1c058037..f43a138d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleCloudStorageReadSettings.cs @@ -33,7 +33,7 @@ public OracleCloudStorageReadSettings() /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal OracleCloudStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal OracleCloudStorageReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement prefix, DataFactoryElement fileListPath, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.Serialization.cs index 468f7fc5..5023a787 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static OracleLinkedService DeserializeOracleLinkedService(JsonElement e DataFactoryElement connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -188,7 +188,7 @@ internal static OracleLinkedService DeserializeOracleLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.cs index f9c5a363..a4a88651 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleLinkedService.cs @@ -34,7 +34,7 @@ public OracleLinkedService(DataFactoryElement connectionString) /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal OracleLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal OracleLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.Serialization.cs index 746f66f6..5fdaef96 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.Serialization.cs @@ -124,8 +124,8 @@ internal static OracleServiceCloudLinkedService DeserializeOracleServiceCloudLin Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -241,7 +241,7 @@ internal static OracleServiceCloudLinkedService DeserializeOracleServiceCloudLin } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleServiceCloudLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, username, password, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.cs index 15515f41..34adab95 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudLinkedService.cs @@ -44,7 +44,7 @@ public OracleServiceCloudLinkedService(BinaryData host, BinaryData username, Dat /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal OracleServiceCloudLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData host, BinaryData username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal OracleServiceCloudLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData host, BinaryData username, DataFactorySecretBaseDefinition password, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs index 8f2b30d9..326a0e1c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static OracleServiceCloudObjectDataset DeserializeOracleServiceCloudObj Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static OracleServiceCloudObjectDataset DeserializeOracleServiceCloudObj } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleServiceCloudObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.cs index 3de900e3..a0dc8ec8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudObjectDataset.cs @@ -34,7 +34,7 @@ public OracleServiceCloudObjectDataset(DataFactoryLinkedServiceReference linkedS /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal OracleServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OracleServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "OracleServiceCloudObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.Serialization.cs index cb1174d3..4fc323c6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.Serialization.cs @@ -83,8 +83,8 @@ internal static OracleServiceCloudSource DeserializeOracleServiceCloudSource(Jso Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static OracleServiceCloudSource DeserializeOracleServiceCloudSource(Jso disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleServiceCloudSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.cs index 6de8fb17..30832f73 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleServiceCloudSource.cs @@ -28,7 +28,7 @@ public OracleServiceCloudSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal OracleServiceCloudSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal OracleServiceCloudSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "OracleServiceCloudSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.Serialization.cs index 45da8a3e..c97fa0fb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.Serialization.cs @@ -79,8 +79,8 @@ internal static OracleSink DeserializeOracleSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -151,7 +151,7 @@ internal static OracleSink DeserializeOracleSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.cs index 3d37c1e1..7f32ecda 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSink.cs @@ -28,7 +28,7 @@ public OracleSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// SQL pre-copy script. Type: string (or Expression with resultType string). - internal OracleSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal OracleSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; CopySinkType = copySinkType ?? "OracleSink"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.Serialization.cs index f3c9f51e..22525466 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.Serialization.cs @@ -99,8 +99,8 @@ internal static OracleSource DeserializeOracleSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("oracleReaderQuery"u8)) @@ -189,7 +189,7 @@ internal static OracleSource DeserializeOracleSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, oracleReaderQuery.Value, queryTimeout.Value, partitionOption.Value, partitionSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.cs index e96ee546..4db525b9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleSource.cs @@ -30,7 +30,7 @@ public OracleSource() /// The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Oracle source partitioning. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal OracleSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement oracleReaderQuery, DataFactoryElement queryTimeout, BinaryData partitionOption, OraclePartitionSettings partitionSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal OracleSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement oracleReaderQuery, DataFactoryElement queryTimeout, BinaryData partitionOption, OraclePartitionSettings partitionSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { OracleReaderQuery = oracleReaderQuery; QueryTimeout = queryTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.Serialization.cs index b9f3c4a0..ba3c7ca4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static OracleTableDataset DeserializeOracleTableDataset(JsonElement ele Optional tableName = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static OracleTableDataset DeserializeOracleTableDataset(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OracleTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.cs index 1ae4cec1..ace68670 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OracleTableDataset.cs @@ -36,7 +36,7 @@ public OracleTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string). /// The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). - internal OracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.Serialization.cs index d6ef8d1a..db27d2ae 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static OrcDataset DeserializeOrcDataset(JsonElement element) Optional folder = default; Optional location = default; Optional> orcCompressionCodec = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static OrcDataset DeserializeOrcDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OrcDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, orcCompressionCodec.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.cs index 2be7534a..fc579d10 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcDataset.cs @@ -39,7 +39,7 @@ public OrcDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(li /// The available derived classes include , , , , , , , , , , , and . /// /// The data orcCompressionCodec. Type: string (or Expression with resultType string). - internal OrcDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement orcCompressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OrcDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement orcCompressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; OrcCompressionCodec = orcCompressionCodec; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.Serialization.cs index 8c1f2fd1..7d613659 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.Serialization.cs @@ -85,8 +85,8 @@ internal static OrcSink DeserializeOrcSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -166,7 +166,7 @@ internal static OrcSink DeserializeOrcSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OrcSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.cs index 520ffa39..3d118b17 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSink.cs @@ -33,7 +33,7 @@ public OrcSink() /// The available derived classes include , , , , and . /// /// ORC format settings. - internal OrcSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreWriteSettings storeSettings, OrcWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal OrcSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreWriteSettings storeSettings, OrcWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.Serialization.cs index 48895bfb..2d7d1763 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.Serialization.cs @@ -77,8 +77,8 @@ internal static OrcSource DeserializeOrcSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -140,7 +140,7 @@ internal static OrcSource DeserializeOrcSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OrcSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.cs index 4dbacd56..dacdf6f3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcSource.cs @@ -31,7 +31,7 @@ public OrcSource() /// The available derived classes include , , , , , , , , , , , and . /// /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal OrcSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal OrcSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.Serialization.cs index 58e48e45..659a7e2b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.Serialization.cs @@ -49,8 +49,8 @@ internal static OrcWriteSettings DeserializeOrcWriteSettings(JsonElement element Optional> maxRowsPerFile = default; Optional> fileNamePrefix = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("maxRowsPerFile"u8)) @@ -76,7 +76,7 @@ internal static OrcWriteSettings DeserializeOrcWriteSettings(JsonElement element type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new OrcWriteSettings(type, additionalProperties, maxRowsPerFile.Value, fileNamePrefix.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.cs index c416a97a..f52ebeb0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/OrcWriteSettings.cs @@ -23,7 +23,7 @@ public OrcWriteSettings() /// Additional Properties. /// Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). /// Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). - internal OrcWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) + internal OrcWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) { MaxRowsPerFile = maxRowsPerFile; FileNamePrefix = fileNamePrefix; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.Serialization.cs index 4885e59f..b9346b9e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static ParquetDataset DeserializeParquetDataset(JsonElement element) Optional folder = default; Optional location = default; Optional> compressionCodec = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static ParquetDataset DeserializeParquetDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ParquetDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, compressionCodec.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.cs index 0bb26ed0..a0373f1a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetDataset.cs @@ -39,7 +39,7 @@ public ParquetDataset(DataFactoryLinkedServiceReference linkedServiceName) : bas /// The available derived classes include , , , , , , , , , , , and . /// /// The data compressionCodec. Type: string (or Expression with resultType string). - internal ParquetDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement compressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ParquetDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement compressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; CompressionCodec = compressionCodec; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.Serialization.cs index 7ff45e41..3fb24ceb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.Serialization.cs @@ -85,8 +85,8 @@ internal static ParquetSink DeserializeParquetSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -166,7 +166,7 @@ internal static ParquetSink DeserializeParquetSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ParquetSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.cs index 7f6644ef..2ad61592 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSink.cs @@ -33,7 +33,7 @@ public ParquetSink() /// The available derived classes include , , , , and . /// /// Parquet format settings. - internal ParquetSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreWriteSettings storeSettings, ParquetWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal ParquetSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreWriteSettings storeSettings, ParquetWriteSettings formatSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.Serialization.cs index b30378b6..8ed00227 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.Serialization.cs @@ -77,8 +77,8 @@ internal static ParquetSource DeserializeParquetSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -140,7 +140,7 @@ internal static ParquetSource DeserializeParquetSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ParquetSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.cs index 6a92bae5..84c85f8b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetSource.cs @@ -31,7 +31,7 @@ public ParquetSource() /// The available derived classes include , , , , , , , , , , , and . /// /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal ParquetSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal ParquetSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.Serialization.cs index ec347eac..0a2119b4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.Serialization.cs @@ -49,8 +49,8 @@ internal static ParquetWriteSettings DeserializeParquetWriteSettings(JsonElement Optional> maxRowsPerFile = default; Optional> fileNamePrefix = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("maxRowsPerFile"u8)) @@ -76,7 +76,7 @@ internal static ParquetWriteSettings DeserializeParquetWriteSettings(JsonElement type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ParquetWriteSettings(type, additionalProperties, maxRowsPerFile.Value, fileNamePrefix.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.cs index a4717450..f9d76aef 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ParquetWriteSettings.cs @@ -23,7 +23,7 @@ public ParquetWriteSettings() /// Additional Properties. /// Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). /// Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). - internal ParquetWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) + internal ParquetWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties, DataFactoryElement maxRowsPerFile, DataFactoryElement fileNamePrefix) : base(formatWriteSettingsType, additionalProperties) { MaxRowsPerFile = maxRowsPerFile; FileNamePrefix = fileNamePrefix; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.Serialization.cs index fb3e5b11..b4c4f884 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static PaypalLinkedService DeserializePaypalLinkedService(JsonElement e Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -241,7 +241,7 @@ internal static PaypalLinkedService DeserializePaypalLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PaypalLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, clientId, clientSecret, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.cs index 82ac2255..b0c30b91 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalLinkedService.cs @@ -41,7 +41,7 @@ public PaypalLinkedService(DataFactoryElement host, DataFactoryElement Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal PaypalLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal PaypalLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; ClientId = clientId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.Serialization.cs index 882b2f7f..071370d0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static PaypalObjectDataset DeserializePaypalObjectDataset(JsonElement e Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static PaypalObjectDataset DeserializePaypalObjectDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PaypalObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.cs index 9e9f2e5a..66b29588 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalObjectDataset.cs @@ -34,7 +34,7 @@ public PaypalObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal PaypalObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PaypalObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "PaypalObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.Serialization.cs index d499d449..b2429250 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.Serialization.cs @@ -83,8 +83,8 @@ internal static PaypalSource DeserializePaypalSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static PaypalSource DeserializePaypalSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PaypalSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.cs index 4fc8726c..7d1a1540 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PaypalSource.cs @@ -28,7 +28,7 @@ public PaypalSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal PaypalSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal PaypalSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "PaypalSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.Serialization.cs index 4bfe61b2..a07e747a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.Serialization.cs @@ -150,8 +150,8 @@ internal static PhoenixLinkedService DeserializePhoenixLinkedService(JsonElement Optional> allowHostNameCNMismatch = default; Optional> allowSelfSignedServerCert = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -316,7 +316,7 @@ internal static PhoenixLinkedService DeserializePhoenixLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PhoenixLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, httpPath.Value, authenticationType, username.Value, password, enableSsl.Value, trustedCertPath.Value, useSystemTrustStore.Value, allowHostNameCNMismatch.Value, allowSelfSignedServerCert.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.cs index 069509ac..9909f786 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixLinkedService.cs @@ -45,7 +45,7 @@ public PhoenixLinkedService(DataFactoryElement host, PhoenixAuthenticati /// Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. /// Specifies whether to allow self-signed certificates from the server. The default value is false. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal PhoenixLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, DataFactoryElement httpPath, PhoenixAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal PhoenixLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, DataFactoryElement httpPath, PhoenixAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.Serialization.cs index 92ccaa77..ef1b5afe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static PhoenixObjectDataset DeserializePhoenixObjectDataset(JsonElement Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static PhoenixObjectDataset DeserializePhoenixObjectDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PhoenixObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.cs index 4188c04b..cecacf19 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixObjectDataset.cs @@ -36,7 +36,7 @@ public PhoenixObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Phoenix. Type: string (or Expression with resultType string). /// The schema name of the Phoenix. Type: string (or Expression with resultType string). - internal PhoenixObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PhoenixObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.Serialization.cs index ada0291f..0dd96a66 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.Serialization.cs @@ -83,8 +83,8 @@ internal static PhoenixSource DeserializePhoenixSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static PhoenixSource DeserializePhoenixSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PhoenixSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.cs index 9331e073..640516d4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PhoenixSource.cs @@ -28,7 +28,7 @@ public PhoenixSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal PhoenixSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal PhoenixSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "PhoenixSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivity.cs index e5eeea12..72604d48 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivity.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -26,7 +27,7 @@ public PipelineActivity(string name) Name = name; DependsOn = new ChangeTrackingList(); UserProperties = new ChangeTrackingList(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of PipelineActivity. @@ -38,7 +39,7 @@ public PipelineActivity(string name) /// Activity depends on condition. /// Activity user properties. /// Additional Properties. - internal PipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties) + internal PipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties) { Name = name; ActivityType = activityType; @@ -94,6 +95,6 @@ internal PipelineActivity(string name, string activityType, string description, /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.Serialization.cs index 81aa9ccf..4d586d13 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -44,8 +45,8 @@ internal static PipelineActivityDependency DeserializePipelineActivityDependency } string activity = default; IList dependencyConditions = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("activity"u8)) @@ -63,7 +64,7 @@ internal static PipelineActivityDependency DeserializePipelineActivityDependency dependencyConditions = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PipelineActivityDependency(activity, dependencyConditions, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.cs index 47f55a8f..77bb1048 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityDependency.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -23,14 +24,14 @@ public PipelineActivityDependency(string activity, IEnumerable(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of PipelineActivityDependency. /// Activity name. /// Match-Condition for the dependency. /// Additional Properties. - internal PipelineActivityDependency(string activity, IList dependencyConditions, IDictionary additionalProperties) + internal PipelineActivityDependency(string activity, IList dependencyConditions, IDictionary> additionalProperties) { Activity = activity; DependencyConditions = dependencyConditions; @@ -71,6 +72,6 @@ internal PipelineActivityDependency(string activity, IList /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.Serialization.cs index 0049dfc8..416d11e6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.Serialization.cs @@ -64,8 +64,8 @@ internal static PipelineActivityPolicy DeserializePipelineActivityPolicy(JsonEle Optional retryIntervalInSeconds = default; Optional secureInput = default; Optional secureOutput = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("timeout"u8)) @@ -113,7 +113,7 @@ internal static PipelineActivityPolicy DeserializePipelineActivityPolicy(JsonEle secureOutput = property.Value.GetBoolean(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PipelineActivityPolicy(timeout.Value, retry.Value, Optional.ToNullable(retryIntervalInSeconds), Optional.ToNullable(secureInput), Optional.ToNullable(secureOutput), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.cs index fb09d350..13734604 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityPolicy.cs @@ -16,7 +16,7 @@ public partial class PipelineActivityPolicy /// Initializes a new instance of PipelineActivityPolicy. public PipelineActivityPolicy() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of PipelineActivityPolicy. @@ -26,7 +26,7 @@ public PipelineActivityPolicy() /// When set to true, Input from activity is considered as secure and will not be logged to monitoring. /// When set to true, Output from activity is considered as secure and will not be logged to monitoring. /// Additional Properties. - internal PipelineActivityPolicy(DataFactoryElement timeout, DataFactoryElement retry, int? retryIntervalInSeconds, bool? isSecureInputEnabled, bool? isSecureOutputEnabled, IDictionary additionalProperties) + internal PipelineActivityPolicy(DataFactoryElement timeout, DataFactoryElement retry, int? retryIntervalInSeconds, bool? isSecureInputEnabled, bool? isSecureOutputEnabled, IDictionary> additionalProperties) { Timeout = timeout; Retry = retry; @@ -76,6 +76,6 @@ internal PipelineActivityPolicy(DataFactoryElement timeout, DataFactoryE /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.Serialization.cs index a51dbad1..fe3be808 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -31,8 +32,8 @@ internal static PipelineActivityRunInformation DeserializePipelineActivityRunInf Optional input = default; Optional output = default; Optional error = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelineName"u8)) @@ -132,7 +133,7 @@ internal static PipelineActivityRunInformation DeserializePipelineActivityRunInf error = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PipelineActivityRunInformation(pipelineName.Value, Optional.ToNullable(pipelineRunId), activityName.Value, activityType.Value, Optional.ToNullable(activityRunId), linkedServiceName.Value, status.Value, Optional.ToNullable(activityRunStart), Optional.ToNullable(activityRunEnd), Optional.ToNullable(durationInMs), input.Value, output.Value, error.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.cs index 355fa48d..d9e980b0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineActivityRunInformation.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class PipelineActivityRunInformation /// Initializes a new instance of PipelineActivityRunInformation. internal PipelineActivityRunInformation() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of PipelineActivityRunInformation. @@ -33,7 +34,7 @@ internal PipelineActivityRunInformation() /// The output for the activity. /// The error if any from the activity run. /// Additional Properties. - internal PipelineActivityRunInformation(string pipelineName, Guid? pipelineRunId, string activityName, string activityType, Guid? activityRunId, string linkedServiceName, string status, DateTimeOffset? startOn, DateTimeOffset? endOn, int? durationInMs, BinaryData input, BinaryData output, BinaryData error, IReadOnlyDictionary additionalProperties) + internal PipelineActivityRunInformation(string pipelineName, Guid? pipelineRunId, string activityName, string activityType, Guid? activityRunId, string linkedServiceName, string status, DateTimeOffset? startOn, DateTimeOffset? endOn, int? durationInMs, BinaryData input, BinaryData output, BinaryData error, IReadOnlyDictionary> additionalProperties) { PipelineName = pipelineName; PipelineRunId = pipelineRunId; @@ -194,6 +195,6 @@ internal PipelineActivityRunInformation(string pipelineName, Guid? pipelineRunId /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.Serialization.cs index be851a13..eb211e34 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -39,8 +40,8 @@ internal static PipelineExternalComputeScaleProperties DeserializePipelineExtern return null; } Optional timeToLive = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("timeToLive"u8)) @@ -52,7 +53,7 @@ internal static PipelineExternalComputeScaleProperties DeserializePipelineExtern timeToLive = property.Value.GetInt32(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PipelineExternalComputeScaleProperties(Optional.ToNullable(timeToLive), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.cs index 5217378e..65acc68a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PipelineExternalComputeScaleProperties.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,13 +16,13 @@ public partial class PipelineExternalComputeScaleProperties /// Initializes a new instance of PipelineExternalComputeScaleProperties. public PipelineExternalComputeScaleProperties() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of PipelineExternalComputeScaleProperties. /// Time to live (in minutes) setting of integration runtime which will execute pipeline and external activity. /// Additional Properties. - internal PipelineExternalComputeScaleProperties(int? timeToLive, IDictionary additionalProperties) + internal PipelineExternalComputeScaleProperties(int? timeToLive, IDictionary> additionalProperties) { TimeToLive = timeToLive; AdditionalProperties = additionalProperties; @@ -59,6 +60,6 @@ internal PipelineExternalComputeScaleProperties(int? timeToLive, IDictionary /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.Serialization.cs index 9db16951..24f7f297 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.Serialization.cs @@ -62,8 +62,8 @@ internal static PolybaseSettings DeserializePolybaseSettings(JsonElement element Optional rejectValue = default; Optional> rejectSampleValue = default; Optional> useTypeDefault = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("rejectType"u8)) @@ -102,7 +102,7 @@ internal static PolybaseSettings DeserializePolybaseSettings(JsonElement element useTypeDefault = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PolybaseSettings(Optional.ToNullable(rejectType), rejectValue.Value, rejectSampleValue.Value, useTypeDefault.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.cs index 66539ed9..fd80fa89 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PolybaseSettings.cs @@ -16,7 +16,7 @@ public partial class PolybaseSettings /// Initializes a new instance of PolybaseSettings. public PolybaseSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of PolybaseSettings. @@ -25,7 +25,7 @@ public PolybaseSettings() /// Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. /// Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal PolybaseSettings(PolybaseSettingsRejectType? rejectType, BinaryData rejectValue, DataFactoryElement rejectSampleValue, DataFactoryElement useTypeDefault, IDictionary additionalProperties) + internal PolybaseSettings(PolybaseSettingsRejectType? rejectType, BinaryData rejectValue, DataFactoryElement rejectSampleValue, DataFactoryElement useTypeDefault, IDictionary> additionalProperties) { RejectType = rejectType; RejectValue = rejectValue; @@ -101,6 +101,6 @@ internal PolybaseSettings(PolybaseSettingsRejectType? rejectType, BinaryData rej /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.Serialization.cs index f8389a7f..741933d1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.Serialization.cs @@ -99,8 +99,8 @@ internal static PostgreSqlLinkedService DeserializePostgreSqlLinkedService(JsonE DataFactoryElement connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -188,7 +188,7 @@ internal static PostgreSqlLinkedService DeserializePostgreSqlLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PostgreSqlLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.cs index d97a0097..7fc9f7f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlLinkedService.cs @@ -34,7 +34,7 @@ public PostgreSqlLinkedService(DataFactoryElement connectionString) /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal PostgreSqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal PostgreSqlLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.Serialization.cs index 96edde17..a7bc5828 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.Serialization.cs @@ -83,8 +83,8 @@ internal static PostgreSqlSource DeserializePostgreSqlSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static PostgreSqlSource DeserializePostgreSqlSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PostgreSqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.cs index 41c44059..7cee269e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlSource.cs @@ -28,7 +28,7 @@ public PostgreSqlSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal PostgreSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal PostgreSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "PostgreSqlSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.Serialization.cs index 2252a094..afec851f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static PostgreSqlTableDataset DeserializePostgreSqlTableDataset(JsonEle Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static PostgreSqlTableDataset DeserializePostgreSqlTableDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PostgreSqlTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.cs index 40eba35f..f92a85d3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PostgreSqlTableDataset.cs @@ -36,7 +36,7 @@ public PostgreSqlTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// This property will be retired. Please consider using schema + table properties instead. /// The PostgreSQL table name. Type: string (or Expression with resultType string). /// The PostgreSQL schema name. Type: string (or Expression with resultType string). - internal PostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.Serialization.cs index 82ba23fc..4bfa663b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.Serialization.cs @@ -156,8 +156,8 @@ internal static PrestoLinkedService DeserializePrestoLinkedService(JsonElement e Optional> allowSelfSignedServerCert = default; Optional> timeZoneId = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -332,7 +332,7 @@ internal static PrestoLinkedService DeserializePrestoLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PrestoLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, serverVersion, catalog, port.Value, authenticationType, username.Value, password, enableSsl.Value, trustedCertPath.Value, useSystemTrustStore.Value, allowHostNameCNMismatch.Value, allowSelfSignedServerCert.Value, timeZoneId.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.cs index 42587515..1799cf38 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoLinkedService.cs @@ -53,7 +53,7 @@ public PrestoLinkedService(DataFactoryElement host, DataFactoryElement Specifies whether to allow self-signed certificates from the server. The default value is false. /// The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal PrestoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement serverVersion, DataFactoryElement catalog, DataFactoryElement port, PrestoAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, DataFactoryElement timeZoneId, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal PrestoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement serverVersion, DataFactoryElement catalog, DataFactoryElement port, PrestoAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, DataFactoryElement timeZoneId, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; ServerVersion = serverVersion; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.Serialization.cs index 261016ec..9a2fed33 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static PrestoObjectDataset DeserializePrestoObjectDataset(JsonElement e Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static PrestoObjectDataset DeserializePrestoObjectDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PrestoObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.cs index 1aad2679..dbf20682 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoObjectDataset.cs @@ -36,7 +36,7 @@ public PrestoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Presto. Type: string (or Expression with resultType string). /// The schema name of the Presto. Type: string (or Expression with resultType string). - internal PrestoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PrestoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.Serialization.cs index de61d3a0..6d0edd02 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.Serialization.cs @@ -83,8 +83,8 @@ internal static PrestoSource DeserializePrestoSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static PrestoSource DeserializePrestoSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new PrestoSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.cs index f1c0a2f1..04f429d5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/PrestoSource.cs @@ -28,7 +28,7 @@ public PrestoSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal PrestoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal PrestoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "PrestoSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.Serialization.cs index 27a079e4..810579e2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.Serialization.cs @@ -142,8 +142,8 @@ internal static QuickBooksLinkedService DeserializeQuickBooksLinkedService(JsonE Optional accessTokenSecret = default; Optional> useEncryptedEndpoints = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -289,7 +289,7 @@ internal static QuickBooksLinkedService DeserializeQuickBooksLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new QuickBooksLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, endpoint.Value, companyId.Value, consumerKey.Value, consumerSecret, accessToken, accessTokenSecret, useEncryptedEndpoints.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.cs index e86ae42d..4f776dd3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksLinkedService.cs @@ -34,7 +34,7 @@ public QuickBooksLinkedService() /// The access token secret for OAuth 1.0 authentication. /// Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal QuickBooksLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement endpoint, DataFactoryElement companyId, DataFactoryElement consumerKey, DataFactorySecretBaseDefinition consumerSecret, DataFactorySecretBaseDefinition accessToken, DataFactorySecretBaseDefinition accessTokenSecret, DataFactoryElement useEncryptedEndpoints, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal QuickBooksLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement endpoint, DataFactoryElement companyId, DataFactoryElement consumerKey, DataFactorySecretBaseDefinition consumerSecret, DataFactorySecretBaseDefinition accessToken, DataFactorySecretBaseDefinition accessTokenSecret, DataFactoryElement useEncryptedEndpoints, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; Endpoint = endpoint; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.Serialization.cs index 1ca54543..54b6a127 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static QuickBooksObjectDataset DeserializeQuickBooksObjectDataset(JsonE Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static QuickBooksObjectDataset DeserializeQuickBooksObjectDataset(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new QuickBooksObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.cs index edbf48b0..190522fb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksObjectDataset.cs @@ -34,7 +34,7 @@ public QuickBooksObjectDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal QuickBooksObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal QuickBooksObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "QuickBooksObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.Serialization.cs index 1235a4c7..0f42e905 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.Serialization.cs @@ -83,8 +83,8 @@ internal static QuickBooksSource DeserializeQuickBooksSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static QuickBooksSource DeserializeQuickBooksSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new QuickBooksSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.cs index 5c6b0860..fd20bc00 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickBooksSource.cs @@ -28,7 +28,7 @@ public QuickBooksSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal QuickBooksSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal QuickBooksSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "QuickBooksSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.Serialization.cs index 4adbe626..220cd36e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.Serialization.cs @@ -95,8 +95,8 @@ internal static QuickbaseLinkedService DeserializeQuickbaseLinkedService(JsonEle DataFactoryElement url = default; DataFactorySecretBaseDefinition userToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -180,7 +180,7 @@ internal static QuickbaseLinkedService DeserializeQuickbaseLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new QuickbaseLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, userToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.cs index 68e0a539..d949f915 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/QuickbaseLinkedService.cs @@ -37,7 +37,7 @@ public QuickbaseLinkedService(DataFactoryElement uri, DataFactorySecretB /// The url to connect Quickbase source. Type: string (or Expression with resultType string). /// The user token for the Quickbase source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal QuickbaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactorySecretBaseDefinition userToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal QuickbaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactorySecretBaseDefinition userToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; UserToken = userToken; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.Serialization.cs index 986e063a..2c815740 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.Serialization.cs @@ -43,8 +43,8 @@ internal static RedirectIncompatibleRowSettings DeserializeRedirectIncompatibleR } DataFactoryElement linkedServiceName = default; Optional> path = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -61,7 +61,7 @@ internal static RedirectIncompatibleRowSettings DeserializeRedirectIncompatibleR path = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RedirectIncompatibleRowSettings(linkedServiceName, path.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.cs index 245872a7..f6c6b3ea 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RedirectIncompatibleRowSettings.cs @@ -21,14 +21,14 @@ public RedirectIncompatibleRowSettings(DataFactoryElement linkedServiceN Argument.AssertNotNull(linkedServiceName, nameof(linkedServiceName)); LinkedServiceName = linkedServiceName; - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of RedirectIncompatibleRowSettings. /// Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). /// The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). /// Additional Properties. - internal RedirectIncompatibleRowSettings(DataFactoryElement linkedServiceName, DataFactoryElement path, IDictionary additionalProperties) + internal RedirectIncompatibleRowSettings(DataFactoryElement linkedServiceName, DataFactoryElement path, IDictionary> additionalProperties) { LinkedServiceName = linkedServiceName; Path = path; @@ -69,6 +69,6 @@ internal RedirectIncompatibleRowSettings(DataFactoryElement linkedServic /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.Serialization.cs index f347cfbc..f9b9c464 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.Serialization.cs @@ -77,8 +77,8 @@ internal static RelationalSource DeserializeRelationalSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -140,7 +140,7 @@ internal static RelationalSource DeserializeRelationalSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RelationalSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.cs index 370d8bed..deffcc93 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalSource.cs @@ -27,7 +27,7 @@ public RelationalSource() /// Additional Properties. /// Database query. Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal RelationalSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal RelationalSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.Serialization.cs index b5379ff3..c4ae4ba6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static RelationalTableDataset DeserializeRelationalTableDataset(JsonEle Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static RelationalTableDataset DeserializeRelationalTableDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RelationalTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.cs index 60a36ec0..c764afe9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RelationalTableDataset.cs @@ -34,7 +34,7 @@ public RelationalTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The relational table name. Type: string (or Expression with resultType string). - internal RelationalTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal RelationalTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "RelationalTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.Serialization.cs index f3a2171f..fb8dd9b0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -82,8 +83,8 @@ internal static RerunTumblingWindowTrigger DeserializeRerunTumblingWindowTrigger DateTimeOffset requestedStartTime = default; DateTimeOffset requestedEndTime = default; int rerunConcurrency = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -158,7 +159,7 @@ internal static RerunTumblingWindowTrigger DeserializeRerunTumblingWindowTrigger } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RerunTumblingWindowTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, parentTrigger, requestedStartTime, requestedEndTime, rerunConcurrency); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.cs index 91156af2..c6c9edb8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RerunTumblingWindowTrigger.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -39,7 +40,7 @@ public RerunTumblingWindowTrigger(BinaryData parentTrigger, DateTimeOffset reque /// The start time for the time period for which restatement is initiated. Only UTC time is currently supported. /// The end time for the time period for which restatement is initiated. Only UTC time is currently supported. /// The max number of parallel time windows (ready for execution) for which a rerun is triggered. - internal RerunTumblingWindowTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, BinaryData parentTrigger, DateTimeOffset requestedStartOn, DateTimeOffset requestedEndOn, int rerunConcurrency) : base(triggerType, description, runtimeState, annotations, additionalProperties) + internal RerunTumblingWindowTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, BinaryData parentTrigger, DateTimeOffset requestedStartOn, DateTimeOffset requestedEndOn, int rerunConcurrency) : base(triggerType, description, runtimeState, annotations, additionalProperties) { ParentTrigger = parentTrigger; RequestedStartOn = requestedStartOn; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.Serialization.cs index 9eea54be..932e9afe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.Serialization.cs @@ -124,8 +124,8 @@ internal static ResponsysLinkedService DeserializeResponsysLinkedService(JsonEle Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -245,7 +245,7 @@ internal static ResponsysLinkedService DeserializeResponsysLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ResponsysLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, clientId, clientSecret, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.cs index cb1ecfb1..a150ea39 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysLinkedService.cs @@ -41,7 +41,7 @@ public ResponsysLinkedService(BinaryData endpoint, DataFactoryElement cl /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ResponsysLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData endpoint, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ResponsysLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData endpoint, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; ClientId = clientId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.Serialization.cs index 3dbf6df6..254dfdf3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static ResponsysObjectDataset DeserializeResponsysObjectDataset(JsonEle Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static ResponsysObjectDataset DeserializeResponsysObjectDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ResponsysObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.cs index 1b74c0d9..f9541d34 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysObjectDataset.cs @@ -34,7 +34,7 @@ public ResponsysObjectDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ResponsysObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ResponsysObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ResponsysObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.Serialization.cs index dd3036e8..6105adc4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.Serialization.cs @@ -83,8 +83,8 @@ internal static ResponsysSource DeserializeResponsysSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ResponsysSource DeserializeResponsysSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ResponsysSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.cs index 7ef1d542..2825bbb9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ResponsysSource.cs @@ -28,7 +28,7 @@ public ResponsysSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal ResponsysSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal ResponsysSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "ResponsysSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.Serialization.cs index 2dd83f6f..8393acf1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.Serialization.cs @@ -156,10 +156,10 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e Optional> relativeUrl = default; Optional> requestMethod = default; Optional> requestBody = default; - Optional> additionalHeaders = default; - Optional> paginationRules = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> additionalHeaders = default; + Optional>> paginationRules = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -281,7 +281,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -290,7 +290,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } additionalHeaders = dictionary; @@ -302,7 +302,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -311,7 +311,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } paginationRules = dictionary; @@ -320,7 +320,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RestResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, relativeUrl.Value, requestMethod.Value, requestBody.Value, Optional.ToDictionary(additionalHeaders), Optional.ToDictionary(paginationRules)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.cs index 35e4199f..8cc16914 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestResourceDataset.cs @@ -20,8 +20,8 @@ public RestResourceDataset(DataFactoryLinkedServiceReference linkedServiceName) { Argument.AssertNotNull(linkedServiceName, nameof(linkedServiceName)); - AdditionalHeaders = new ChangeTrackingDictionary(); - PaginationRules = new ChangeTrackingDictionary(); + AdditionalHeaders = new ChangeTrackingDictionary>(); + PaginationRules = new ChangeTrackingDictionary>(); DatasetType = "RestResource"; } @@ -40,7 +40,7 @@ public RestResourceDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). /// The additional HTTP headers in the request to the RESTful API. /// The pagination rules to compose next page requests. - internal RestResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, IDictionary additionalHeaders, IDictionary paginationRules) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal RestResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, IDictionary> additionalHeaders, IDictionary> paginationRules) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { RelativeUri = relativeUri; RequestMethod = requestMethod; @@ -86,7 +86,7 @@ internal RestResourceDataset(string datasetType, string description, DataFactory /// /// /// - public IDictionary AdditionalHeaders { get; } + public IDictionary> AdditionalHeaders { get; } /// /// The pagination rules to compose next page requests. /// @@ -117,6 +117,6 @@ internal RestResourceDataset(string datasetType, string description, DataFactory /// /// /// - public IDictionary PaginationRules { get; } + public IDictionary> PaginationRules { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.Serialization.cs index b8ead4f8..9b8b852e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.Serialization.cs @@ -186,8 +186,8 @@ internal static RestServiceLinkedService DeserializeRestServiceLinkedService(Jso Optional> tokenEndpoint = default; Optional> resource = default; Optional> scope = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -406,7 +406,7 @@ internal static RestServiceLinkedService DeserializeRestServiceLinkedService(Jso } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RestServiceLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, enableServerCertificateValidation.Value, authenticationType, userName.Value, password, authHeaders.Value, servicePrincipalId.Value, servicePrincipalKey, tenant.Value, azureCloudType.Value, aadResourceId.Value, encryptedCredential.Value, credential.Value, clientId.Value, clientSecret, tokenEndpoint.Value, resource.Value, scope.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.cs index 6160c041..2a9cf644 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestServiceLinkedService.cs @@ -51,7 +51,7 @@ public RestServiceLinkedService(DataFactoryElement uri, RestServiceAuthe /// The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string). /// The target service or resource to which the access will be requested. Type: string (or Expression with resultType string). /// The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string). - internal RestServiceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactoryElement enableServerCertificateValidation, RestServiceAuthenticationType authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, DataFactoryElement aadResourceId, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement tokenEndpoint, DataFactoryElement resource, DataFactoryElement scope) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal RestServiceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactoryElement enableServerCertificateValidation, RestServiceAuthenticationType authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement azureCloudType, DataFactoryElement aadResourceId, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement tokenEndpoint, DataFactoryElement resource, DataFactoryElement scope) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; EnableServerCertificateValidation = enableServerCertificateValidation; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.Serialization.cs index cb5d90ad..61f04f5e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.Serialization.cs @@ -111,8 +111,8 @@ internal static RestSink DeserializeRestSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("requestMethod"u8)) @@ -219,7 +219,7 @@ internal static RestSink DeserializeRestSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RestSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, requestMethod.Value, additionalHeaders.Value, httpRequestTimeout.Value, requestInterval.Value, httpCompressionType.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.cs index ecea68bf..d61eedfb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSink.cs @@ -32,7 +32,7 @@ public RestSink() /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// The time to await before sending next request, in milliseconds. /// Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. - internal RestSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement additionalHeaders, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, BinaryData httpCompressionType) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal RestSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement requestMethod, DataFactoryElement additionalHeaders, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, BinaryData httpCompressionType) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { RequestMethod = requestMethod; AdditionalHeaders = additionalHeaders; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.Serialization.cs index b0b26651..1fadea66 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.Serialization.cs @@ -111,8 +111,8 @@ internal static RestSource DeserializeRestSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("requestMethod"u8)) @@ -219,7 +219,7 @@ internal static RestSource DeserializeRestSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new RestSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, requestMethod.Value, requestBody.Value, additionalHeaders.Value, paginationRules.Value, httpRequestTimeout.Value, requestInterval.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.cs index 3e85cd6c..54d1856e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/RestSource.cs @@ -32,7 +32,7 @@ public RestSource() /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// The time to await before sending next page request. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal RestSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DataFactoryElement paginationRules, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal RestSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DataFactoryElement paginationRules, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { RequestMethod = requestMethod; RequestBody = requestBody; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.Serialization.cs index fd6445f5..7d62cd75 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static SalesforceLinkedService DeserializeSalesforceLinkedService(JsonE Optional securityToken = default; Optional> apiVersion = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static SalesforceLinkedService DeserializeSalesforceLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, environmentUrl.Value, username.Value, password, securityToken, apiVersion.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.cs index fd2e5b3e..01a18ecf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceLinkedService.cs @@ -31,7 +31,7 @@ public SalesforceLinkedService() /// The security token is optional to remotely access Salesforce instance. /// The Salesforce API version used in ADF. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SalesforceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement environmentUri, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition securityToken, DataFactoryElement apiVersion, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SalesforceLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement environmentUri, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition securityToken, DataFactoryElement apiVersion, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { EnvironmentUri = environmentUri; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.Serialization.cs index a1751a16..addf286f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.Serialization.cs @@ -130,8 +130,8 @@ internal static SalesforceMarketingCloudLinkedService DeserializeSalesforceMarke Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -259,7 +259,7 @@ internal static SalesforceMarketingCloudLinkedService DeserializeSalesforceMarke } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceMarketingCloudLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, clientId.Value, clientSecret, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.cs index 29405f27..fff504db 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudLinkedService.cs @@ -32,7 +32,7 @@ public SalesforceMarketingCloudLinkedService() /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SalesforceMarketingCloudLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SalesforceMarketingCloudLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; ClientId = clientId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs index 08fd2253..5b11a154 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SalesforceMarketingCloudObjectDataset DeserializeSalesforceMarke Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static SalesforceMarketingCloudObjectDataset DeserializeSalesforceMarke } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceMarketingCloudObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.cs index 6f1f6b04..bce9d6c0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudObjectDataset.cs @@ -34,7 +34,7 @@ public SalesforceMarketingCloudObjectDataset(DataFactoryLinkedServiceReference l /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal SalesforceMarketingCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SalesforceMarketingCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SalesforceMarketingCloudObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.Serialization.cs index f56cd382..cd41df28 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.Serialization.cs @@ -83,8 +83,8 @@ internal static SalesforceMarketingCloudSource DeserializeSalesforceMarketingClo Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static SalesforceMarketingCloudSource DeserializeSalesforceMarketingClo disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceMarketingCloudSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.cs index caf20ce8..c29a3927 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceMarketingCloudSource.cs @@ -28,7 +28,7 @@ public SalesforceMarketingCloudSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal SalesforceMarketingCloudSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SalesforceMarketingCloudSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "SalesforceMarketingCloudSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.Serialization.cs index fd6b495c..5975de4c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SalesforceObjectDataset DeserializeSalesforceObjectDataset(JsonE Optional> annotations = default; Optional folder = default; Optional> objectApiName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static SalesforceObjectDataset DeserializeSalesforceObjectDataset(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, objectApiName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.cs index 4c0b24fd..41e5c3c9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceObjectDataset.cs @@ -34,7 +34,7 @@ public SalesforceObjectDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Salesforce object API name. Type: string (or Expression with resultType string). - internal SalesforceObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SalesforceObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { ObjectApiName = objectApiName; DatasetType = datasetType ?? "SalesforceObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.Serialization.cs index 01de56d8..4e870f95 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.Serialization.cs @@ -126,8 +126,8 @@ internal static SalesforceServiceCloudLinkedService DeserializeSalesforceService Optional> apiVersion = default; Optional> extendedProperties = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -255,7 +255,7 @@ internal static SalesforceServiceCloudLinkedService DeserializeSalesforceService } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceServiceCloudLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, environmentUrl.Value, username.Value, password, securityToken, apiVersion.Value, extendedProperties.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.cs index 111f70ab..8dffd722 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudLinkedService.cs @@ -32,7 +32,7 @@ public SalesforceServiceCloudLinkedService() /// The Salesforce API version used in ADF. Type: string (or Expression with resultType string). /// Extended properties appended to the connection string. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SalesforceServiceCloudLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement environmentUri, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition securityToken, DataFactoryElement apiVersion, DataFactoryElement extendedProperties, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SalesforceServiceCloudLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement environmentUri, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition securityToken, DataFactoryElement apiVersion, DataFactoryElement extendedProperties, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { EnvironmentUri = environmentUri; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs index e59cd229..d723747c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SalesforceServiceCloudObjectDataset DeserializeSalesforceService Optional> annotations = default; Optional folder = default; Optional> objectApiName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static SalesforceServiceCloudObjectDataset DeserializeSalesforceService } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceServiceCloudObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, objectApiName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.cs index 65528a88..6d89d266 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudObjectDataset.cs @@ -34,7 +34,7 @@ public SalesforceServiceCloudObjectDataset(DataFactoryLinkedServiceReference lin /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). - internal SalesforceServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SalesforceServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { ObjectApiName = objectApiName; DatasetType = datasetType ?? "SalesforceServiceCloudObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.Serialization.cs index 931875bd..d2c871ab 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.Serialization.cs @@ -91,8 +91,8 @@ internal static SalesforceServiceCloudSink DeserializeSalesforceServiceCloudSink Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -181,7 +181,7 @@ internal static SalesforceServiceCloudSink DeserializeSalesforceServiceCloudSink disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceServiceCloudSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, Optional.ToNullable(writeBehavior), externalIdFieldName.Value, ignoreNullValues.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.cs index 6c6e060d..2d414d45 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSink.cs @@ -30,7 +30,7 @@ public SalesforceServiceCloudSink() /// The write behavior for the operation. Default is Insert. /// The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). /// The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). - internal SalesforceServiceCloudSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, SalesforceSinkWriteBehavior? writeBehavior, DataFactoryElement externalIdFieldName, DataFactoryElement ignoreNullValues) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SalesforceServiceCloudSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, SalesforceSinkWriteBehavior? writeBehavior, DataFactoryElement externalIdFieldName, DataFactoryElement ignoreNullValues) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; ExternalIdFieldName = externalIdFieldName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.Serialization.cs index c088d9f1..0bbc1447 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.Serialization.cs @@ -83,8 +83,8 @@ internal static SalesforceServiceCloudSource DeserializeSalesforceServiceCloudSo Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static SalesforceServiceCloudSource DeserializeSalesforceServiceCloudSo disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceServiceCloudSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, readBehavior.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.cs index aa0e53e1..49474878 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceServiceCloudSource.cs @@ -28,7 +28,7 @@ public SalesforceServiceCloudSource() /// Database query. Type: string (or Expression with resultType string). /// The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal SalesforceServiceCloudSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, DataFactoryElement readBehavior, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SalesforceServiceCloudSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, DataFactoryElement readBehavior, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; ReadBehavior = readBehavior; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.Serialization.cs index 260016ba..c56196b3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.Serialization.cs @@ -91,8 +91,8 @@ internal static SalesforceSink DeserializeSalesforceSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -181,7 +181,7 @@ internal static SalesforceSink DeserializeSalesforceSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, Optional.ToNullable(writeBehavior), externalIdFieldName.Value, ignoreNullValues.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.cs index b1296a41..a558e463 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSink.cs @@ -30,7 +30,7 @@ public SalesforceSink() /// The write behavior for the operation. Default is Insert. /// The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). /// The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). - internal SalesforceSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, SalesforceSinkWriteBehavior? writeBehavior, DataFactoryElement externalIdFieldName, DataFactoryElement ignoreNullValues) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SalesforceSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, SalesforceSinkWriteBehavior? writeBehavior, DataFactoryElement externalIdFieldName, DataFactoryElement ignoreNullValues) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; ExternalIdFieldName = externalIdFieldName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.Serialization.cs index 84cda647..a1fa76fc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.Serialization.cs @@ -89,8 +89,8 @@ internal static SalesforceSource DeserializeSalesforceSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static SalesforceSource DeserializeSalesforceSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SalesforceSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, readBehavior.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.cs index 2b03b499..3b8e5301 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SalesforceSource.cs @@ -29,7 +29,7 @@ public SalesforceSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). /// The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). - internal SalesforceSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement readBehavior) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SalesforceSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement readBehavior) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; ReadBehavior = readBehavior; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.Serialization.cs index 48585bfe..7494c9a0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.Serialization.cs @@ -95,8 +95,8 @@ internal static SapBWCubeDataset DeserializeSapBWCubeDataset(JsonElement element Optional> parameters = default; Optional> annotations = default; Optional folder = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -176,7 +176,7 @@ internal static SapBWCubeDataset DeserializeSapBWCubeDataset(JsonElement element folder = DatasetFolder.DeserializeDatasetFolder(property.Value); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapBWCubeDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.cs index 91b798e5..41870c7e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWCubeDataset.cs @@ -33,7 +33,7 @@ public SapBWCubeDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - internal SapBWCubeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapBWCubeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DatasetType = datasetType ?? "SapBwCube"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.Serialization.cs index 707fede9..e9ae9218 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.Serialization.cs @@ -111,8 +111,8 @@ internal static SapBWLinkedService DeserializeSapBWLinkedService(JsonElement ele Optional> userName = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -219,7 +219,7 @@ internal static SapBWLinkedService DeserializeSapBWLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapBWLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server, systemNumber, clientId, userName.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.cs index 9b1e115b..ba276076 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWLinkedService.cs @@ -43,7 +43,7 @@ public SapBWLinkedService(DataFactoryElement server, DataFactoryElement< /// Username to access the SAP BW server. Type: string (or Expression with resultType string). /// Password to access the SAP BW server. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SapBWLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapBWLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; SystemNumber = systemNumber; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.Serialization.cs index 868faabe..ec3e2e60 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.Serialization.cs @@ -83,8 +83,8 @@ internal static SapBWSource DeserializeSapBWSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static SapBWSource DeserializeSapBWSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapBWSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.cs index 45872440..962e9b62 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapBWSource.cs @@ -28,7 +28,7 @@ public SapBWSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// MDX query. Type: string (or Expression with resultType string). - internal SapBWSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapBWSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "SapBwSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.Serialization.cs index 96334657..55087de0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.Serialization.cs @@ -105,8 +105,8 @@ internal static SapCloudForCustomerLinkedService DeserializeSapCloudForCustomerL Optional> username = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -203,7 +203,7 @@ internal static SapCloudForCustomerLinkedService DeserializeSapCloudForCustomerL } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapCloudForCustomerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, username.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.cs index aee945f2..9b825966 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerLinkedService.cs @@ -35,7 +35,7 @@ public SapCloudForCustomerLinkedService(DataFactoryElement uri) /// The username for Basic authentication. Type: string (or Expression with resultType string). /// The password for Basic authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. - internal SapCloudForCustomerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapCloudForCustomerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs index 7bf6eee2..e13803b8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static SapCloudForCustomerResourceDataset DeserializeSapCloudForCustome Optional> annotations = default; Optional folder = default; DataFactoryElement path = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static SapCloudForCustomerResourceDataset DeserializeSapCloudForCustome } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapCloudForCustomerResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, path); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.cs index f5d592a5..d24b47c6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerResourceDataset.cs @@ -37,7 +37,7 @@ public SapCloudForCustomerResourceDataset(DataFactoryLinkedServiceReference link /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). - internal SapCloudForCustomerResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapCloudForCustomerResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "SapCloudForCustomerResource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.Serialization.cs index bf5624df..6392af0a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.Serialization.cs @@ -85,8 +85,8 @@ internal static SapCloudForCustomerSink DeserializeSapCloudForCustomerSink(JsonE Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("writeBehavior"u8)) @@ -166,7 +166,7 @@ internal static SapCloudForCustomerSink DeserializeSapCloudForCustomerSink(JsonE disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapCloudForCustomerSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, Optional.ToNullable(writeBehavior), httpRequestTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.cs index bd112f80..728ed8dc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSink.cs @@ -29,7 +29,7 @@ public SapCloudForCustomerSink() /// Additional Properties. /// The write behavior for the operation. Default is 'Insert'. /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - internal SapCloudForCustomerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, SapCloudForCustomerSinkWriteBehavior? writeBehavior, DataFactoryElement httpRequestTimeout) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SapCloudForCustomerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, SapCloudForCustomerSinkWriteBehavior? writeBehavior, DataFactoryElement httpRequestTimeout) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { WriteBehavior = writeBehavior; HttpRequestTimeout = httpRequestTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.Serialization.cs index 83369025..3948161b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.Serialization.cs @@ -89,8 +89,8 @@ internal static SapCloudForCustomerSource DeserializeSapCloudForCustomerSource(J Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static SapCloudForCustomerSource DeserializeSapCloudForCustomerSource(J disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapCloudForCustomerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, httpRequestTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.cs index 8d14ece8..8f0c6d06 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapCloudForCustomerSource.cs @@ -29,7 +29,7 @@ public SapCloudForCustomerSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - internal SapCloudForCustomerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapCloudForCustomerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; HttpRequestTimeout = httpRequestTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.Serialization.cs index ba9dbc77..6ddcfefe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.Serialization.cs @@ -105,8 +105,8 @@ internal static SapEccLinkedService DeserializeSapEccLinkedService(JsonElement e Optional> username = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -203,7 +203,7 @@ internal static SapEccLinkedService DeserializeSapEccLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapEccLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, url, username.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.cs index edc03ada..d03cf1fd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccLinkedService.cs @@ -35,7 +35,7 @@ public SapEccLinkedService(DataFactoryElement uri) /// The username for Basic authentication. Type: string (or Expression with resultType string). /// The password for Basic authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. - internal SapEccLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapEccLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement uri, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; Username = username; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.Serialization.cs index ae899c72..bf2b954f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static SapEccResourceDataset DeserializeSapEccResourceDataset(JsonEleme Optional> annotations = default; Optional folder = default; DataFactoryElement path = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static SapEccResourceDataset DeserializeSapEccResourceDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapEccResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, path); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.cs index a69a70e2..62530ae9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccResourceDataset.cs @@ -37,7 +37,7 @@ public SapEccResourceDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). - internal SapEccResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapEccResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "SapEccResource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.Serialization.cs index 4af96af4..34b8fb7e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.Serialization.cs @@ -89,8 +89,8 @@ internal static SapEccSource DeserializeSapEccSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -170,7 +170,7 @@ internal static SapEccSource DeserializeSapEccSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapEccSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, httpRequestTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.cs index 63f30859..94731c4d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapEccSource.cs @@ -29,7 +29,7 @@ public SapEccSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - internal SapEccSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapEccSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; HttpRequestTimeout = httpRequestTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.Serialization.cs index 29b1ce2c..776745c1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static SapHanaLinkedService DeserializeSapHanaLinkedService(JsonElement Optional> userName = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static SapHanaLinkedService DeserializeSapHanaLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapHanaLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, server.Value, Optional.ToNullable(authenticationType), userName.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.cs index 3a175474..1043a456 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaLinkedService.cs @@ -31,7 +31,7 @@ public SapHanaLinkedService() /// Username to access the SAP HANA server. Type: string (or Expression with resultType string). /// Password to access the SAP HANA server. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SapHanaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement server, SapHanaAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapHanaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement server, SapHanaAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Server = server; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.Serialization.cs index c3d2a572..c337e771 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.Serialization.cs @@ -105,8 +105,8 @@ internal static SapHanaSource DeserializeSapHanaSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -204,7 +204,7 @@ internal static SapHanaSource DeserializeSapHanaSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapHanaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, packetSize.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.cs index 4d0e5881..69ca2f1a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaSource.cs @@ -31,7 +31,7 @@ public SapHanaSource() /// The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). /// The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". /// The settings that will be leveraged for SAP HANA source partitioning. - internal SapHanaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement packetSize, BinaryData partitionOption, SapHanaPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapHanaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, DataFactoryElement packetSize, BinaryData partitionOption, SapHanaPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; PacketSize = packetSize; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.Serialization.cs index 65c1152b..c41ddd51 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static SapHanaTableDataset DeserializeSapHanaTableDataset(JsonElement e Optional folder = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static SapHanaTableDataset DeserializeSapHanaTableDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapHanaTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.cs index c0a0e591..ff414192 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapHanaTableDataset.cs @@ -35,7 +35,7 @@ public SapHanaTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// Additional Properties. /// The schema name of SAP HANA. Type: string (or Expression with resultType string). /// The table name of SAP HANA. Type: string (or Expression with resultType string). - internal SapHanaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapHanaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.Serialization.cs index cce1ca7c..d5289206 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.Serialization.cs @@ -192,8 +192,8 @@ internal static SapOdpLinkedService DeserializeSapOdpLinkedService(JsonElement e Optional> logonGroup = default; Optional> subscriberName = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -420,7 +420,7 @@ internal static SapOdpLinkedService DeserializeSapOdpLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapOdpLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server.Value, systemNumber.Value, clientId.Value, language.Value, systemId.Value, userName.Value, password, messageServer.Value, messageServerService.Value, sncMode.Value, sncMyName.Value, sncPartnerName.Value, sncLibraryPath.Value, sncQop.Value, x509CertificatePath.Value, logonGroup.Value, subscriberName.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.cs index 1207df16..4e7c92e7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpLinkedService.cs @@ -43,7 +43,7 @@ public SapOdpLinkedService() /// The Logon Group for the SAP System. Type: string (or Expression with resultType string). /// The subscriber name. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SapOdpLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement language, DataFactoryElement systemId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement messageServer, DataFactoryElement messageServerService, DataFactoryElement sncMode, DataFactoryElement sncMyName, DataFactoryElement sncPartnerName, DataFactoryElement sncLibraryPath, DataFactoryElement sncQop, DataFactoryElement x509CertificatePath, DataFactoryElement logonGroup, DataFactoryElement subscriberName, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapOdpLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement language, DataFactoryElement systemId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement messageServer, DataFactoryElement messageServerService, DataFactoryElement sncMode, DataFactoryElement sncMyName, DataFactoryElement sncPartnerName, DataFactoryElement sncLibraryPath, DataFactoryElement sncQop, DataFactoryElement x509CertificatePath, DataFactoryElement logonGroup, DataFactoryElement subscriberName, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; SystemNumber = systemNumber; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.Serialization.cs index e19dca35..6b4017d2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SapOdpResourceDataset DeserializeSapOdpResourceDataset(JsonEleme Optional folder = default; DataFactoryElement context = default; DataFactoryElement objectName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -207,7 +207,7 @@ internal static SapOdpResourceDataset DeserializeSapOdpResourceDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapOdpResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, context, objectName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.cs index b1890767..455f6c63 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpResourceDataset.cs @@ -41,7 +41,7 @@ public SapOdpResourceDataset(DataFactoryLinkedServiceReference linkedServiceName /// Additional Properties. /// The context of the SAP ODP Object. Type: string (or Expression with resultType string). /// The name of the SAP ODP Object. Type: string (or Expression with resultType string). - internal SapOdpResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement context, DataFactoryElement objectName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapOdpResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement context, DataFactoryElement objectName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Context = context; ObjectName = objectName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.Serialization.cs index e2034c46..ed5b078d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.Serialization.cs @@ -109,8 +109,8 @@ internal static SapOdpSource DeserializeSapOdpSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("extractionMode"u8)) @@ -208,7 +208,7 @@ internal static SapOdpSource DeserializeSapOdpSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapOdpSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, extractionMode.Value, subscriberProcess.Value, selection.Value, projection.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.cs index 28ec576d..1e1e236c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOdpSource.cs @@ -31,7 +31,7 @@ public SapOdpSource() /// The subscriber process to manage the delta process. Type: string (or Expression with resultType string). /// Specifies the selection conditions from source data. Type: array of objects(selection) (or Expression with resultType array of objects). /// Specifies the columns to be selected from source data. Type: array of objects(projection) (or Expression with resultType array of objects). - internal SapOdpSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement extractionMode, DataFactoryElement subscriberProcess, BinaryData selection, BinaryData projection) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapOdpSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement extractionMode, DataFactoryElement subscriberProcess, BinaryData selection, BinaryData projection) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { ExtractionMode = extractionMode; SubscriberProcess = subscriberProcess; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.Serialization.cs index 6e48ee48..d3c2d370 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.Serialization.cs @@ -150,8 +150,8 @@ internal static SapOpenHubLinkedService DeserializeSapOpenHubLinkedService(JsonE Optional> messageServerService = default; Optional> logonGroup = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -315,7 +315,7 @@ internal static SapOpenHubLinkedService DeserializeSapOpenHubLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapOpenHubLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server.Value, systemNumber.Value, clientId.Value, language.Value, systemId.Value, userName.Value, password, messageServer.Value, messageServerService.Value, logonGroup.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.cs index 85795c9e..944c93cc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubLinkedService.cs @@ -36,7 +36,7 @@ public SapOpenHubLinkedService() /// The service name or port number of the Message Server. Type: string (or Expression with resultType string). /// The Logon Group for the SAP System. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SapOpenHubLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement language, DataFactoryElement systemId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement messageServer, DataFactoryElement messageServerService, DataFactoryElement logonGroup, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapOpenHubLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement language, DataFactoryElement systemId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement messageServer, DataFactoryElement messageServerService, DataFactoryElement logonGroup, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; SystemNumber = systemNumber; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.Serialization.cs index 8ba30f11..bbf07327 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.Serialization.cs @@ -101,8 +101,8 @@ internal static SapOpenHubSource DeserializeSapOpenHubSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("excludeLastRequest"u8)) @@ -200,7 +200,7 @@ internal static SapOpenHubSource DeserializeSapOpenHubSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapOpenHubSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, excludeLastRequest.Value, baseRequestId.Value, customRfcReadTableFunctionModule.Value, sapDataColumnDelimiter.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.cs index 180e4c93..6dbcbbaa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubSource.cs @@ -31,7 +31,7 @@ public SapOpenHubSource() /// The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). /// Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). /// The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). - internal SapOpenHubSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement excludeLastRequest, DataFactoryElement baseRequestId, DataFactoryElement customRfcReadTableFunctionModule, DataFactoryElement sapDataColumnDelimiter) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapOpenHubSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement excludeLastRequest, DataFactoryElement baseRequestId, DataFactoryElement customRfcReadTableFunctionModule, DataFactoryElement sapDataColumnDelimiter) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { ExcludeLastRequest = excludeLastRequest; BaseRequestId = baseRequestId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.Serialization.cs index cb56a77b..0242b30c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.Serialization.cs @@ -113,8 +113,8 @@ internal static SapOpenHubTableDataset DeserializeSapOpenHubTableDataset(JsonEle DataFactoryElement openHubDestinationName = default; Optional> excludeLastRequest = default; Optional> baseRequestId = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -229,7 +229,7 @@ internal static SapOpenHubTableDataset DeserializeSapOpenHubTableDataset(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapOpenHubTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, openHubDestinationName, excludeLastRequest.Value, baseRequestId.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.cs index 136b17cf..1b3ba51e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapOpenHubTableDataset.cs @@ -39,7 +39,7 @@ public SapOpenHubTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). /// Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). /// The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). - internal SapOpenHubTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement openHubDestinationName, DataFactoryElement excludeLastRequest, DataFactoryElement baseRequestId) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapOpenHubTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement openHubDestinationName, DataFactoryElement excludeLastRequest, DataFactoryElement baseRequestId) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { OpenHubDestinationName = openHubDestinationName; ExcludeLastRequest = excludeLastRequest; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.Serialization.cs index f7a28968..a664b65f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.Serialization.cs @@ -180,8 +180,8 @@ internal static SapTableLinkedService DeserializeSapTableLinkedService(JsonEleme Optional> sncQop = default; Optional> logonGroup = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -390,7 +390,7 @@ internal static SapTableLinkedService DeserializeSapTableLinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapTableLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server.Value, systemNumber.Value, clientId.Value, language.Value, systemId.Value, userName.Value, password, messageServer.Value, messageServerService.Value, sncMode.Value, sncMyName.Value, sncPartnerName.Value, sncLibraryPath.Value, sncQop.Value, logonGroup.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.cs index f5ab6205..9197dacf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableLinkedService.cs @@ -41,7 +41,7 @@ public SapTableLinkedService() /// SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). /// The Logon Group for the SAP System. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SapTableLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement language, DataFactoryElement systemId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement messageServer, DataFactoryElement messageServerService, DataFactoryElement sncMode, DataFactoryElement sncMyName, DataFactoryElement sncPartnerName, DataFactoryElement sncLibraryPath, DataFactoryElement sncQop, DataFactoryElement logonGroup, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SapTableLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, DataFactoryElement systemNumber, DataFactoryElement clientId, DataFactoryElement language, DataFactoryElement systemId, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement messageServer, DataFactoryElement messageServerService, DataFactoryElement sncMode, DataFactoryElement sncMyName, DataFactoryElement sncPartnerName, DataFactoryElement sncLibraryPath, DataFactoryElement sncQop, DataFactoryElement logonGroup, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; SystemNumber = systemNumber; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.Serialization.cs index e76f70d6..5c398f9c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.Serialization.cs @@ -101,8 +101,8 @@ internal static SapTableResourceDataset DeserializeSapTableResourceDataset(JsonE Optional> annotations = default; Optional folder = default; DataFactoryElement tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -199,7 +199,7 @@ internal static SapTableResourceDataset DeserializeSapTableResourceDataset(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapTableResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.cs index 13e25cb6..a960a232 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableResourceDataset.cs @@ -37,7 +37,7 @@ public SapTableResourceDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of the SAP Table. Type: string (or Expression with resultType string). - internal SapTableResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapTableResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SapTableResource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.Serialization.cs index e91dabbd..3351e5ff 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.Serialization.cs @@ -135,8 +135,8 @@ internal static SapTableSource DeserializeSapTableSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("rowCount"u8)) @@ -279,7 +279,7 @@ internal static SapTableSource DeserializeSapTableSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SapTableSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, rowCount.Value, rowSkips.Value, rfcTableFields.Value, rfcTableOptions.Value, batchSize.Value, customRfcReadTableFunctionModule.Value, sapDataColumnDelimiter.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.cs index 78128216..4f3d07f9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SapTableSource.cs @@ -36,7 +36,7 @@ public SapTableSource() /// The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). /// The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". /// The settings that will be leveraged for SAP table source partitioning. - internal SapTableSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement rowCount, DataFactoryElement rowSkips, DataFactoryElement rfcTableFields, DataFactoryElement rfcTableOptions, DataFactoryElement batchSize, DataFactoryElement customRfcReadTableFunctionModule, DataFactoryElement sapDataColumnDelimiter, BinaryData partitionOption, SapTablePartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SapTableSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement rowCount, DataFactoryElement rowSkips, DataFactoryElement rfcTableFields, DataFactoryElement rfcTableOptions, DataFactoryElement batchSize, DataFactoryElement customRfcReadTableFunctionModule, DataFactoryElement sapDataColumnDelimiter, BinaryData partitionOption, SapTablePartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { RowCount = rowCount; RowSkips = rowSkips; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.Serialization.cs index e0863d5e..97c12772 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -69,8 +70,8 @@ internal static ScheduleTriggerRecurrence DeserializeScheduleTriggerRecurrence(J Optional endTime = default; Optional timeZone = default; Optional schedule = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("frequency"u8)) @@ -123,7 +124,7 @@ internal static ScheduleTriggerRecurrence DeserializeScheduleTriggerRecurrence(J schedule = DataFactoryRecurrenceSchedule.DeserializeDataFactoryRecurrenceSchedule(property.Value); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ScheduleTriggerRecurrence(Optional.ToNullable(frequency), Optional.ToNullable(interval), Optional.ToNullable(startTime), Optional.ToNullable(endTime), timeZone.Value, schedule.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.cs index 428636be..34bd92bd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ScheduleTriggerRecurrence.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,7 +16,7 @@ public partial class ScheduleTriggerRecurrence /// Initializes a new instance of ScheduleTriggerRecurrence. public ScheduleTriggerRecurrence() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of ScheduleTriggerRecurrence. @@ -26,7 +27,7 @@ public ScheduleTriggerRecurrence() /// The time zone. /// The recurrence schedule. /// Additional Properties. - internal ScheduleTriggerRecurrence(DataFactoryRecurrenceFrequency? frequency, int? interval, DateTimeOffset? startOn, DateTimeOffset? endOn, string timeZone, DataFactoryRecurrenceSchedule schedule, IDictionary additionalProperties) + internal ScheduleTriggerRecurrence(DataFactoryRecurrenceFrequency? frequency, int? interval, DateTimeOffset? startOn, DateTimeOffset? endOn, string timeZone, DataFactoryRecurrenceSchedule schedule, IDictionary> additionalProperties) { Frequency = frequency; Interval = interval; @@ -79,6 +80,6 @@ internal ScheduleTriggerRecurrence(DataFactoryRecurrenceFrequency? frequency, in /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.Serialization.cs index cf82bc84..1df5e2d5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -51,8 +52,8 @@ internal static SelfHostedIntegrationRuntime DeserializeSelfHostedIntegrationRun IntegrationRuntimeType type = default; Optional description = default; Optional linkedInfo = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -86,7 +87,7 @@ internal static SelfHostedIntegrationRuntime DeserializeSelfHostedIntegrationRun } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SelfHostedIntegrationRuntime(type, description.Value, additionalProperties, linkedInfo.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.cs index c059193b..f3e8cdb9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntime.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// Self-hosted integration runtime. @@ -25,7 +27,7 @@ public SelfHostedIntegrationRuntime() /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include and . /// - internal SelfHostedIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary additionalProperties, LinkedIntegrationRuntimeType linkedInfo) : base(integrationRuntimeType, description, additionalProperties) + internal SelfHostedIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary> additionalProperties, LinkedIntegrationRuntimeType linkedInfo) : base(integrationRuntimeType, description, additionalProperties) { LinkedInfo = linkedInfo; IntegrationRuntimeType = integrationRuntimeType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.Serialization.cs index b9c72b1f..f128c1d1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -36,8 +37,8 @@ internal static SelfHostedIntegrationRuntimeNode DeserializeSelfHostedIntegratio Optional isActiveDispatcher = default; Optional concurrentJobsLimit = default; Optional maxConcurrentJobs = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("nodeName"u8)) @@ -191,7 +192,7 @@ internal static SelfHostedIntegrationRuntimeNode DeserializeSelfHostedIntegratio maxConcurrentJobs = property.Value.GetInt32(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SelfHostedIntegrationRuntimeNode(nodeName.Value, machineName.Value, hostServiceUri.Value, Optional.ToNullable(status), Optional.ToDictionary(capabilities), versionStatus.Value, version.Value, Optional.ToNullable(registerTime), Optional.ToNullable(lastConnectTime), Optional.ToNullable(expiryTime), Optional.ToNullable(lastStartTime), Optional.ToNullable(lastStopTime), Optional.ToNullable(lastUpdateResult), Optional.ToNullable(lastStartUpdateTime), Optional.ToNullable(lastEndUpdateTime), Optional.ToNullable(isActiveDispatcher), Optional.ToNullable(concurrentJobsLimit), Optional.ToNullable(maxConcurrentJobs), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.cs index 892f687e..6f10a616 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeNode.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -16,7 +17,7 @@ public partial class SelfHostedIntegrationRuntimeNode internal SelfHostedIntegrationRuntimeNode() { Capabilities = new ChangeTrackingDictionary(); - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of SelfHostedIntegrationRuntimeNode. @@ -39,7 +40,7 @@ internal SelfHostedIntegrationRuntimeNode() /// Maximum concurrent jobs on the integration runtime node. /// The maximum concurrent jobs in this integration runtime. /// Additional Properties. - internal SelfHostedIntegrationRuntimeNode(string nodeName, string machineName, Uri hostServiceUri, SelfHostedIntegrationRuntimeNodeStatus? status, IReadOnlyDictionary capabilities, string versionStatus, string version, DateTimeOffset? registerOn, DateTimeOffset? lastConnectOn, DateTimeOffset? expireOn, DateTimeOffset? lastStartOn, DateTimeOffset? lastStopOn, IntegrationRuntimeUpdateResult? lastUpdateResult, DateTimeOffset? lastStartUpdateOn, DateTimeOffset? lastEndUpdateOn, bool? isActiveDispatcher, int? concurrentJobsLimit, int? maxConcurrentJobs, IReadOnlyDictionary additionalProperties) + internal SelfHostedIntegrationRuntimeNode(string nodeName, string machineName, Uri hostServiceUri, SelfHostedIntegrationRuntimeNodeStatus? status, IReadOnlyDictionary capabilities, string versionStatus, string version, DateTimeOffset? registerOn, DateTimeOffset? lastConnectOn, DateTimeOffset? expireOn, DateTimeOffset? lastStartOn, DateTimeOffset? lastStopOn, IntegrationRuntimeUpdateResult? lastUpdateResult, DateTimeOffset? lastStartUpdateOn, DateTimeOffset? lastEndUpdateOn, bool? isActiveDispatcher, int? concurrentJobsLimit, int? maxConcurrentJobs, IReadOnlyDictionary> additionalProperties) { NodeName = nodeName; MachineName = machineName; @@ -128,6 +129,6 @@ internal SelfHostedIntegrationRuntimeNode(string nodeName, string machineName, U /// /// /// - public IReadOnlyDictionary AdditionalProperties { get; } + public IReadOnlyDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.Serialization.cs index b531178f..a42b8388 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -37,8 +38,8 @@ internal static SelfHostedIntegrationRuntimeStatus DeserializeSelfHostedIntegrat Optional pushedVersion = default; Optional latestVersion = default; Optional autoUpdateEta = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -227,7 +228,7 @@ internal static SelfHostedIntegrationRuntimeStatus DeserializeSelfHostedIntegrat } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SelfHostedIntegrationRuntimeStatus(type, dataFactoryName.Value, Optional.ToNullable(state), additionalProperties, Optional.ToNullable(createTime), Optional.ToNullable(taskQueueId), Optional.ToNullable(internalChannelEncryption), version.Value, Optional.ToList(nodes), Optional.ToNullable(scheduledUpdateDate), Optional.ToNullable(updateDelayOffset), Optional.ToNullable(localTimeZoneOffset), Optional.ToDictionary(capabilities), Optional.ToList(serviceUrls), Optional.ToNullable(autoUpdate), versionStatus.Value, Optional.ToList(links), pushedVersion.Value, latestVersion.Value, Optional.ToNullable(autoUpdateEta)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs index cae21374..30f9bb6c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -43,7 +44,7 @@ internal SelfHostedIntegrationRuntimeStatus() /// The version that the integration runtime is going to update to. /// The latest version on download center. /// The estimated time when the self-hosted integration runtime will be updated. - internal SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary additionalProperties, DateTimeOffset? createdOn, Guid? taskQueueId, IntegrationRuntimeInternalChannelEncryptionMode? internalChannelEncryption, string version, IReadOnlyList nodes, DateTimeOffset? scheduledUpdateOn, TimeSpan? updateDelayOffset, TimeSpan? localTimeZoneOffset, IReadOnlyDictionary capabilities, IReadOnlyList serviceUris, IntegrationRuntimeAutoUpdateState? autoUpdate, string versionStatus, IReadOnlyList links, string pushedVersion, string latestVersion, DateTimeOffset? autoUpdateEta) : base(runtimeType, dataFactoryName, state, additionalProperties) + internal SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary> additionalProperties, DateTimeOffset? createdOn, Guid? taskQueueId, IntegrationRuntimeInternalChannelEncryptionMode? internalChannelEncryption, string version, IReadOnlyList nodes, DateTimeOffset? scheduledUpdateOn, TimeSpan? updateDelayOffset, TimeSpan? localTimeZoneOffset, IReadOnlyDictionary capabilities, IReadOnlyList serviceUris, IntegrationRuntimeAutoUpdateState? autoUpdate, string versionStatus, IReadOnlyList links, string pushedVersion, string latestVersion, DateTimeOffset? autoUpdateEta) : base(runtimeType, dataFactoryName, state, additionalProperties) { CreatedOn = createdOn; TaskQueueId = taskQueueId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.Serialization.cs index 44a96751..42e71e0c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.Serialization.cs @@ -142,8 +142,8 @@ internal static ServiceNowLinkedService DeserializeServiceNowLinkedService(JsonE Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -290,7 +290,7 @@ internal static ServiceNowLinkedService DeserializeServiceNowLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ServiceNowLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, endpoint, authenticationType, username.Value, password, clientId.Value, clientSecret, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.cs index 53441fa9..55c7d63c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowLinkedService.cs @@ -43,7 +43,7 @@ public ServiceNowLinkedService(BinaryData endpoint, ServiceNowAuthenticationType /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ServiceNowLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData endpoint, ServiceNowAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ServiceNowLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData endpoint, ServiceNowAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Endpoint = endpoint; AuthenticationType = authenticationType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.Serialization.cs index 59f61f41..fb08fb7b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static ServiceNowObjectDataset DeserializeServiceNowObjectDataset(JsonE Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static ServiceNowObjectDataset DeserializeServiceNowObjectDataset(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ServiceNowObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.cs index ffa9db1c..50c59e13 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowObjectDataset.cs @@ -34,7 +34,7 @@ public ServiceNowObjectDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ServiceNowObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ServiceNowObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ServiceNowObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.Serialization.cs index fb14596c..b9186d83 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.Serialization.cs @@ -83,8 +83,8 @@ internal static ServiceNowSource DeserializeServiceNowSource(JsonElement element Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ServiceNowSource DeserializeServiceNowSource(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ServiceNowSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.cs index 6afd4a29..55c74709 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServiceNowSource.cs @@ -28,7 +28,7 @@ public ServiceNowSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal ServiceNowSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal ServiceNowSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "ServiceNowSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.Serialization.cs index 163f3bfe..03599935 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.Serialization.cs @@ -92,8 +92,8 @@ internal static ServicePrincipalCredential DeserializeServicePrincipalCredential Optional servicePrincipalId = default; Optional servicePrincipalKey = default; Optional tenant = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -166,7 +166,7 @@ internal static ServicePrincipalCredential DeserializeServicePrincipalCredential } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ServicePrincipalCredential(type, description.Value, Optional.ToList(annotations), additionalProperties, servicePrincipalId.Value, servicePrincipalKey, tenant.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.cs index e713bf22..b022bec9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ServicePrincipalCredential.cs @@ -26,7 +26,7 @@ public ServicePrincipalCredential() /// The app ID of the service principal used to authenticate. /// The key of the service principal used to authenticate. /// The ID of the tenant to which the service principal belongs. - internal ServicePrincipalCredential(string credentialType, string description, IList annotations, IDictionary additionalProperties, BinaryData servicePrincipalId, DataFactoryKeyVaultSecretReference servicePrincipalKey, BinaryData tenant) : base(credentialType, description, annotations, additionalProperties) + internal ServicePrincipalCredential(string credentialType, string description, IList annotations, IDictionary> additionalProperties, BinaryData servicePrincipalId, DataFactoryKeyVaultSecretReference servicePrincipalKey, BinaryData tenant) : base(credentialType, description, annotations, additionalProperties) { ServicePrincipalId = servicePrincipalId; ServicePrincipalKey = servicePrincipalKey; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.Serialization.cs index d566d59f..2e530b24 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.Serialization.cs @@ -107,8 +107,8 @@ internal static SetVariableActivity DeserializeSetVariableActivity(JsonElement e Optional variableName = default; Optional> value = default; Optional setSystemVariable = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("policy"u8)) @@ -216,7 +216,7 @@ internal static SetVariableActivity DeserializeSetVariableActivity(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SetVariableActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, policy.Value, variableName.Value, value.Value, Optional.ToNullable(setSystemVariable)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.cs index 97b06642..ce8bfd10 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SetVariableActivity.cs @@ -36,7 +36,7 @@ public SetVariableActivity(string name) : base(name) /// Name of the variable whose value needs to be set. /// Value to be set. Could be a static value or Expression. /// If set to true, it sets the pipeline run return value. - internal SetVariableActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, SecureInputOutputPolicy policy, string variableName, DataFactoryElement value, bool? setSystemVariable) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal SetVariableActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, SecureInputOutputPolicy policy, string variableName, DataFactoryElement value, bool? setSystemVariable) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Policy = policy; VariableName = variableName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.Serialization.cs index 8d1d48df..69ad3457 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static SftpLocation DeserializeSftpLocation(JsonElement element) string type = default; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static SftpLocation DeserializeSftpLocation(JsonElement element) fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SftpLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.cs index 2d127001..7044430d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpLocation.cs @@ -23,7 +23,7 @@ public SftpLocation() /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal SftpLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal SftpLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "SftpLocation"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.Serialization.cs index a121e5f0..88e8cc94 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.Serialization.cs @@ -109,8 +109,8 @@ internal static SftpReadSettings DeserializeSftpReadSettings(JsonElement element string type = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recursive"u8)) @@ -226,7 +226,7 @@ internal static SftpReadSettings DeserializeSftpReadSettings(JsonElement element disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SftpReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, fileListPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, disableChunking.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.cs index a4723944..d397d848 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpReadSettings.cs @@ -33,7 +33,7 @@ public SftpReadSettings() /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). /// If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). - internal SftpReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement fileListPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DataFactoryElement disableChunking) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SftpReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement recursive, DataFactoryElement wildcardFolderPath, DataFactoryElement wildcardFileName, DataFactoryElement enablePartitionDiscovery, DataFactoryElement partitionRootPath, DataFactoryElement fileListPath, DataFactoryElement deleteFilesAfterCompletion, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DataFactoryElement disableChunking) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.Serialization.cs index 76f3498c..4724af9e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.Serialization.cs @@ -147,8 +147,8 @@ internal static SftpServerLinkedService DeserializeSftpServerLinkedService(JsonE Optional passPhrase = default; Optional> skipHostKeyValidation = default; Optional> hostKeyFingerprint = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -308,7 +308,7 @@ internal static SftpServerLinkedService DeserializeSftpServerLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SftpServerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port.Value, Optional.ToNullable(authenticationType), userName.Value, password, encryptedCredential.Value, privateKeyPath.Value, privateKeyContent, passPhrase, skipHostKeyValidation.Value, hostKeyFingerprint.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.cs index fe13c1b4..ffd7e739 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpServerLinkedService.cs @@ -42,7 +42,7 @@ public SftpServerLinkedService(DataFactoryElement host) /// The password to decrypt the SSH private key if the SSH private key is encrypted. /// If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). /// The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). - internal SftpServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, SftpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, DataFactoryElement privateKeyPath, DataFactorySecretBaseDefinition privateKeyContent, DataFactorySecretBaseDefinition passPhrase, DataFactoryElement skipHostKeyValidation, DataFactoryElement hostKeyFingerprint) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SftpServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, SftpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, DataFactoryElement privateKeyPath, DataFactorySecretBaseDefinition privateKeyContent, DataFactorySecretBaseDefinition passPhrase, DataFactoryElement skipHostKeyValidation, DataFactoryElement hostKeyFingerprint) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.Serialization.cs index 29aa79cd..8fe5d896 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.Serialization.cs @@ -71,8 +71,8 @@ internal static SftpWriteSettings DeserializeSftpWriteSettings(JsonElement eleme Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("operationTimeout"u8)) @@ -125,7 +125,7 @@ internal static SftpWriteSettings DeserializeSftpWriteSettings(JsonElement eleme copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SftpWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties, operationTimeout.Value, useTempFileRename.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.cs index aaceea64..f8d22984 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SftpWriteSettings.cs @@ -26,7 +26,7 @@ public SftpWriteSettings() /// Additional Properties. /// Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string). /// Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean). - internal SftpWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties, DataFactoryElement operationTimeout, DataFactoryElement useTempFileRename) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal SftpWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties, DataFactoryElement operationTimeout, DataFactoryElement useTempFileRename) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { OperationTimeout = operationTimeout; UseTempFileRename = useTempFileRename; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.Serialization.cs index 3d17c83d..dc93e2db 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.Serialization.cs @@ -101,8 +101,8 @@ internal static SharePointOnlineListLinkedService DeserializeSharePointOnlineLis DataFactoryElement servicePrincipalId = default; DataFactorySecretBaseDefinition servicePrincipalKey = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -196,7 +196,7 @@ internal static SharePointOnlineListLinkedService DeserializeSharePointOnlineLis } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SharePointOnlineListLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, siteUrl, tenantId, servicePrincipalId, servicePrincipalKey, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.cs index 71abf0d6..722c668b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListLinkedService.cs @@ -45,7 +45,7 @@ public SharePointOnlineListLinkedService(DataFactoryElement siteUri, Dat /// The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). /// The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SharePointOnlineListLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement siteUri, DataFactoryElement tenantId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SharePointOnlineListLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement siteUri, DataFactoryElement tenantId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { SiteUri = siteUri; TenantId = tenantId; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs index 654e4416..f7cecec4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SharePointOnlineListResourceDataset DeserializeSharePointOnlineL Optional> annotations = default; Optional folder = default; Optional> listName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static SharePointOnlineListResourceDataset DeserializeSharePointOnlineL } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SharePointOnlineListResourceDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, listName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.cs index 213e3074..1b4f71fa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListResourceDataset.cs @@ -34,7 +34,7 @@ public SharePointOnlineListResourceDataset(DataFactoryLinkedServiceReference lin /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of the SharePoint Online list. Type: string (or Expression with resultType string). - internal SharePointOnlineListResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement listName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SharePointOnlineListResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement listName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { ListName = listName; DatasetType = datasetType ?? "SharePointOnlineListResource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.Serialization.cs index 9a0da63c..1233bdef 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.Serialization.cs @@ -73,8 +73,8 @@ internal static SharePointOnlineListSource DeserializeSharePointOnlineListSource Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -136,7 +136,7 @@ internal static SharePointOnlineListSource DeserializeSharePointOnlineListSource disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SharePointOnlineListSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, httpRequestTimeout.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.cs index b852516a..ea51a09f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SharePointOnlineListSource.cs @@ -27,7 +27,7 @@ public SharePointOnlineListSource() /// Additional Properties. /// The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). /// The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - internal SharePointOnlineListSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SharePointOnlineListSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, DataFactoryElement httpRequestTimeout) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; HttpRequestTimeout = httpRequestTimeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.Serialization.cs index 2ccbf340..4735adea 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.Serialization.cs @@ -117,8 +117,8 @@ internal static ShopifyLinkedService DeserializeShopifyLinkedService(JsonElement Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -233,7 +233,7 @@ internal static ShopifyLinkedService DeserializeShopifyLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ShopifyLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, accessToken, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.cs index 6f01fc6e..48f7c278 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyLinkedService.cs @@ -37,7 +37,7 @@ public ShopifyLinkedService(DataFactoryElement host) /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ShopifyLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactorySecretBaseDefinition accessToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ShopifyLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactorySecretBaseDefinition accessToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; AccessToken = accessToken; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.Serialization.cs index e2c44b70..99536845 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static ShopifyObjectDataset DeserializeShopifyObjectDataset(JsonElement Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static ShopifyObjectDataset DeserializeShopifyObjectDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ShopifyObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.cs index abc572ed..d13b145f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifyObjectDataset.cs @@ -34,7 +34,7 @@ public ShopifyObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ShopifyObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ShopifyObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ShopifyObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.Serialization.cs index 1f87ad9a..1c835041 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.Serialization.cs @@ -83,8 +83,8 @@ internal static ShopifySource DeserializeShopifySource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ShopifySource DeserializeShopifySource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ShopifySource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.cs index ebf1ba31..6d90df84 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ShopifySource.cs @@ -28,7 +28,7 @@ public ShopifySource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal ShopifySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal ShopifySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "ShopifySource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.Serialization.cs index 1431e74f..3072c5ed 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.Serialization.cs @@ -92,8 +92,8 @@ internal static SmartsheetLinkedService DeserializeSmartsheetLinkedService(JsonE Optional> annotations = default; DataFactorySecretBaseDefinition apiToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -172,7 +172,7 @@ internal static SmartsheetLinkedService DeserializeSmartsheetLinkedService(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SmartsheetLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, apiToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.cs index fc0c682b..ce209353 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SmartsheetLinkedService.cs @@ -33,7 +33,7 @@ public SmartsheetLinkedService(DataFactorySecretBaseDefinition apiToken) /// Additional Properties. /// The api token for the Smartsheet source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SmartsheetLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SmartsheetLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ApiToken = apiToken; EncryptedCredential = encryptedCredential; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.Serialization.cs index 17ff7ddb..3d4aadd8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static SnowflakeDataset DeserializeSnowflakeDataset(JsonElement element Optional folder = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static SnowflakeDataset DeserializeSnowflakeDataset(JsonElement element } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SnowflakeDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.cs index bce6bbc8..9544d8e0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeDataset.cs @@ -35,7 +35,7 @@ public SnowflakeDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// Additional Properties. /// The schema name of the Snowflake database. Type: string (or Expression with resultType string). /// The table name of the Snowflake database. Type: string (or Expression with resultType string). - internal SnowflakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SnowflakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.Serialization.cs index 94f220dd..fcade7e9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -75,11 +76,11 @@ internal static SnowflakeExportCopyCommand DeserializeSnowflakeExportCopyCommand { return null; } - Optional> additionalCopyOptions = default; - Optional> additionalFormatOptions = default; + Optional>> additionalCopyOptions = default; + Optional>> additionalFormatOptions = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("additionalCopyOptions"u8)) @@ -88,7 +89,7 @@ internal static SnowflakeExportCopyCommand DeserializeSnowflakeExportCopyCommand { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -97,7 +98,7 @@ internal static SnowflakeExportCopyCommand DeserializeSnowflakeExportCopyCommand } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } additionalCopyOptions = dictionary; @@ -109,7 +110,7 @@ internal static SnowflakeExportCopyCommand DeserializeSnowflakeExportCopyCommand { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -118,7 +119,7 @@ internal static SnowflakeExportCopyCommand DeserializeSnowflakeExportCopyCommand } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } additionalFormatOptions = dictionary; @@ -129,7 +130,7 @@ internal static SnowflakeExportCopyCommand DeserializeSnowflakeExportCopyCommand type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SnowflakeExportCopyCommand(type, additionalProperties, Optional.ToDictionary(additionalCopyOptions), Optional.ToDictionary(additionalFormatOptions)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.cs index 9cdc86e6..66291392 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeExportCopyCommand.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,8 +16,8 @@ public partial class SnowflakeExportCopyCommand : ExportSettings /// Initializes a new instance of SnowflakeExportCopyCommand. public SnowflakeExportCopyCommand() { - AdditionalCopyOptions = new ChangeTrackingDictionary(); - AdditionalFormatOptions = new ChangeTrackingDictionary(); + AdditionalCopyOptions = new ChangeTrackingDictionary>(); + AdditionalFormatOptions = new ChangeTrackingDictionary>(); ExportSettingsType = "SnowflakeExportCopyCommand"; } @@ -25,7 +26,7 @@ public SnowflakeExportCopyCommand() /// Additional Properties. /// Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. /// Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }. - internal SnowflakeExportCopyCommand(string exportSettingsType, IDictionary additionalProperties, IDictionary additionalCopyOptions, IDictionary additionalFormatOptions) : base(exportSettingsType, additionalProperties) + internal SnowflakeExportCopyCommand(string exportSettingsType, IDictionary> additionalProperties, IDictionary> additionalCopyOptions, IDictionary> additionalFormatOptions) : base(exportSettingsType, additionalProperties) { AdditionalCopyOptions = additionalCopyOptions; AdditionalFormatOptions = additionalFormatOptions; @@ -62,7 +63,7 @@ internal SnowflakeExportCopyCommand(string exportSettingsType, IDictionary /// /// - public IDictionary AdditionalCopyOptions { get; } + public IDictionary> AdditionalCopyOptions { get; } /// /// Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } /// @@ -93,6 +94,6 @@ internal SnowflakeExportCopyCommand(string exportSettingsType, IDictionary /// /// - public IDictionary AdditionalFormatOptions { get; } + public IDictionary> AdditionalFormatOptions { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.Serialization.cs index 20b9b7a1..0e269955 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -75,11 +76,11 @@ internal static SnowflakeImportCopyCommand DeserializeSnowflakeImportCopyCommand { return null; } - Optional> additionalCopyOptions = default; - Optional> additionalFormatOptions = default; + Optional>> additionalCopyOptions = default; + Optional>> additionalFormatOptions = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("additionalCopyOptions"u8)) @@ -88,7 +89,7 @@ internal static SnowflakeImportCopyCommand DeserializeSnowflakeImportCopyCommand { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -97,7 +98,7 @@ internal static SnowflakeImportCopyCommand DeserializeSnowflakeImportCopyCommand } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } additionalCopyOptions = dictionary; @@ -109,7 +110,7 @@ internal static SnowflakeImportCopyCommand DeserializeSnowflakeImportCopyCommand { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -118,7 +119,7 @@ internal static SnowflakeImportCopyCommand DeserializeSnowflakeImportCopyCommand } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } additionalFormatOptions = dictionary; @@ -129,7 +130,7 @@ internal static SnowflakeImportCopyCommand DeserializeSnowflakeImportCopyCommand type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SnowflakeImportCopyCommand(type, additionalProperties, Optional.ToDictionary(additionalCopyOptions), Optional.ToDictionary(additionalFormatOptions)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.cs index 0dd40169..57a45de7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeImportCopyCommand.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,8 +16,8 @@ public partial class SnowflakeImportCopyCommand : ImportSettings /// Initializes a new instance of SnowflakeImportCopyCommand. public SnowflakeImportCopyCommand() { - AdditionalCopyOptions = new ChangeTrackingDictionary(); - AdditionalFormatOptions = new ChangeTrackingDictionary(); + AdditionalCopyOptions = new ChangeTrackingDictionary>(); + AdditionalFormatOptions = new ChangeTrackingDictionary>(); ImportSettingsType = "SnowflakeImportCopyCommand"; } @@ -25,7 +26,7 @@ public SnowflakeImportCopyCommand() /// Additional Properties. /// Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. /// Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }. - internal SnowflakeImportCopyCommand(string importSettingsType, IDictionary additionalProperties, IDictionary additionalCopyOptions, IDictionary additionalFormatOptions) : base(importSettingsType, additionalProperties) + internal SnowflakeImportCopyCommand(string importSettingsType, IDictionary> additionalProperties, IDictionary> additionalCopyOptions, IDictionary> additionalFormatOptions) : base(importSettingsType, additionalProperties) { AdditionalCopyOptions = additionalCopyOptions; AdditionalFormatOptions = additionalFormatOptions; @@ -62,7 +63,7 @@ internal SnowflakeImportCopyCommand(string importSettingsType, IDictionary /// /// - public IDictionary AdditionalCopyOptions { get; } + public IDictionary> AdditionalCopyOptions { get; } /// /// Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } /// @@ -93,6 +94,6 @@ internal SnowflakeImportCopyCommand(string importSettingsType, IDictionary /// /// - public IDictionary AdditionalFormatOptions { get; } + public IDictionary> AdditionalFormatOptions { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.Serialization.cs index d697ace3..9df5014a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.Serialization.cs @@ -103,8 +103,8 @@ internal static SnowflakeLinkedService DeserializeSnowflakeLinkedService(JsonEle BinaryData connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -192,7 +192,7 @@ internal static SnowflakeLinkedService DeserializeSnowflakeLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SnowflakeLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.cs index 36b4ce79..25b0f1f4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeLinkedService.cs @@ -34,7 +34,7 @@ public SnowflakeLinkedService(BinaryData connectionString) /// The connection string of snowflake. Type: string, SecureString. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SnowflakeLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SnowflakeLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.Serialization.cs index ae1f3a91..78928f98 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.Serialization.cs @@ -85,8 +85,8 @@ internal static SnowflakeSink DeserializeSnowflakeSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -166,7 +166,7 @@ internal static SnowflakeSink DeserializeSnowflakeSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SnowflakeSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value, importSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.cs index 72e042e3..9f3d2ccf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSink.cs @@ -29,7 +29,7 @@ public SnowflakeSink() /// Additional Properties. /// SQL pre-copy script. Type: string (or Expression with resultType string). /// Snowflake import settings. - internal SnowflakeSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript, SnowflakeImportCopyCommand importSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SnowflakeSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript, SnowflakeImportCopyCommand importSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; ImportSettings = importSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.Serialization.cs index c0b5aa07..0e9a2cd0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.Serialization.cs @@ -70,8 +70,8 @@ internal static SnowflakeSource DeserializeSnowflakeSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -129,7 +129,7 @@ internal static SnowflakeSource DeserializeSnowflakeSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SnowflakeSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, query.Value, exportSettings); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.cs index 09401788..19bbfa1f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SnowflakeSource.cs @@ -33,7 +33,7 @@ public SnowflakeSource(SnowflakeExportCopyCommand exportSettings) /// Additional Properties. /// Snowflake Sql query. Type: string (or Expression with resultType string). /// Snowflake export settings. - internal SnowflakeSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement query, SnowflakeExportCopyCommand exportSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SnowflakeSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement query, SnowflakeExportCopyCommand exportSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { Query = query; ExportSettings = exportSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.Serialization.cs index 66f5e655..c382ceaf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.Serialization.cs @@ -159,8 +159,8 @@ internal static SparkLinkedService DeserializeSparkLinkedService(JsonElement ele Optional> allowHostNameCNMismatch = default; Optional> allowSelfSignedServerCert = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -339,7 +339,7 @@ internal static SparkLinkedService DeserializeSparkLinkedService(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SparkLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, host, port, Optional.ToNullable(serverType), Optional.ToNullable(thriftTransportProtocol), authenticationType, username.Value, password, httpPath.Value, enableSsl.Value, trustedCertPath.Value, useSystemTrustStore.Value, allowHostNameCNMismatch.Value, allowSelfSignedServerCert.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.cs index c4a2b644..3fe30652 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkLinkedService.cs @@ -50,7 +50,7 @@ public SparkLinkedService(DataFactoryElement host, DataFactoryElement Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. /// Specifies whether to allow self-signed certificates from the server. The default value is false. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SparkLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, SparkServerType? serverType, SparkThriftTransportProtocol? thriftTransportProtocol, SparkAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement httpPath, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SparkLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement host, DataFactoryElement port, SparkServerType? serverType, SparkThriftTransportProtocol? thriftTransportProtocol, SparkAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, DataFactoryElement httpPath, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.Serialization.cs index fd60428d..a211935c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static SparkObjectDataset DeserializeSparkObjectDataset(JsonElement ele Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static SparkObjectDataset DeserializeSparkObjectDataset(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SparkObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.cs index 6a8a2608..83e71c56 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkObjectDataset.cs @@ -36,7 +36,7 @@ public SparkObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Spark. Type: string (or Expression with resultType string). /// The schema name of the Spark. Type: string (or Expression with resultType string). - internal SparkObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SparkObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.Serialization.cs index e74c11d3..102341fd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.Serialization.cs @@ -83,8 +83,8 @@ internal static SparkSource DeserializeSparkSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static SparkSource DeserializeSparkSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SparkSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.cs index 148d94b2..94c2b7b0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SparkSource.cs @@ -28,7 +28,7 @@ public SparkSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal SparkSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SparkSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "SparkSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.Serialization.cs index d7d5d739..a465277a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.Serialization.cs @@ -131,8 +131,8 @@ internal static SqlDWSink DeserializeSqlDWSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preCopyScript"u8)) @@ -275,7 +275,7 @@ internal static SqlDWSink DeserializeSqlDWSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlDWSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, preCopyScript.Value, allowPolyBase.Value, polyBaseSettings.Value, allowCopyCommand.Value, copyCommandSettings.Value, tableOption.Value, sqlWriterUseTableLock.Value, writeBehavior.Value, upsertSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.cs index 25b9d98b..603d25f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSink.cs @@ -36,7 +36,7 @@ public SqlDWSink() /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). /// Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum). /// SQL DW upsert settings. - internal SqlDWSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement preCopyScript, DataFactoryElement allowPolyBase, PolybaseSettings polyBaseSettings, DataFactoryElement allowCopyCommand, DWCopyCommandSettings copyCommandSettings, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlDWUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlDWSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement preCopyScript, DataFactoryElement allowPolyBase, PolybaseSettings polyBaseSettings, DataFactoryElement allowCopyCommand, DWCopyCommandSettings copyCommandSettings, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlDWUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { PreCopyScript = preCopyScript; AllowPolyBase = allowPolyBase; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.Serialization.cs index 89b40675..5c689fed 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.Serialization.cs @@ -121,8 +121,8 @@ internal static SqlDWSource DeserializeSqlDWSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlReaderQuery"u8)) @@ -238,7 +238,7 @@ internal static SqlDWSource DeserializeSqlDWSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlDWSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.cs index 20abc187..2ce658a4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlDWSource.cs @@ -33,7 +33,7 @@ public SqlDWSource() /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal SqlDWSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlDWSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.Serialization.cs index 8ea4c6ab..aea8e5f2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.Serialization.cs @@ -135,8 +135,8 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlWriterStoredProcedureName"u8)) @@ -279,7 +279,7 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlMISink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value, sqlWriterUseTableLock.Value, writeBehavior.Value, upsertSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.cs index c704dde6..b0fc5a17 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISink.cs @@ -36,7 +36,7 @@ public SqlMISink() /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). /// White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). /// SQL upsert settings. - internal SqlMISink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlMISink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.Serialization.cs index d787ae47..c79a4722 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.Serialization.cs @@ -131,8 +131,8 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlReaderQuery"u8)) @@ -257,7 +257,7 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlMISource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.cs index e40bfe5b..49b61be3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlMISource.cs @@ -34,7 +34,7 @@ public SqlMISource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal SqlMISource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlMISource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.Serialization.cs index 15af39d2..5968ec63 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.Serialization.cs @@ -111,8 +111,8 @@ internal static SqlServerLinkedService DeserializeSqlServerLinkedService(JsonEle Optional password = default; Optional encryptedCredential = default; Optional alwaysEncryptedSettings = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -218,7 +218,7 @@ internal static SqlServerLinkedService DeserializeSqlServerLinkedService(JsonEle } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlServerLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString, userName.Value, password, encryptedCredential.Value, alwaysEncryptedSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.cs index 6494512a..0325b9fd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerLinkedService.cs @@ -36,7 +36,7 @@ public SqlServerLinkedService(DataFactoryElement connectionString) /// The on-premises Windows authentication password. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// Sql always encrypted properties. - internal SqlServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SqlServerLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryElement userName, DataFactorySecretBaseDefinition password, string encryptedCredential, SqlAlwaysEncryptedProperties alwaysEncryptedSettings) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; UserName = userName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.Serialization.cs index afef8633..1dc48d97 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.Serialization.cs @@ -135,8 +135,8 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlWriterStoredProcedureName"u8)) @@ -279,7 +279,7 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlServerSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value, sqlWriterUseTableLock.Value, writeBehavior.Value, upsertSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.cs index 729c7e46..3423d5dc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSink.cs @@ -36,7 +36,7 @@ public SqlServerSink() /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). /// Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). /// SQL upsert settings. - internal SqlServerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlServerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.Serialization.cs index cc2c3f28..61dd749b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.Serialization.cs @@ -131,8 +131,8 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlReaderQuery"u8)) @@ -257,7 +257,7 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlServerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.cs index 322beeea..ef9081c2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerSource.cs @@ -34,7 +34,7 @@ public SqlServerSource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal SqlServerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlServerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.Serialization.cs index b83bc0f8..ff6bcf2f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.Serialization.cs @@ -108,8 +108,8 @@ internal static SqlServerStoredProcedureActivity DeserializeSqlServerStoredProce Optional> userProperties = default; DataFactoryElement storedProcedureName = default; Optional storedProcedureParameters = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -217,7 +217,7 @@ internal static SqlServerStoredProcedureActivity DeserializeSqlServerStoredProce } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlServerStoredProcedureActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, storedProcedureName, storedProcedureParameters.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.cs index 67c894b9..59829dd8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerStoredProcedureActivity.cs @@ -39,7 +39,7 @@ public SqlServerStoredProcedureActivity(string name, DataFactoryElement /// Activity policy. /// Stored procedure name. Type: string (or Expression with resultType string). /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - internal SqlServerStoredProcedureActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement storedProcedureName, BinaryData storedProcedureParameters) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal SqlServerStoredProcedureActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement storedProcedureName, BinaryData storedProcedureParameters) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { StoredProcedureName = storedProcedureName; StoredProcedureParameters = storedProcedureParameters; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.Serialization.cs index 296fd0f3..f59f02fd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static SqlServerTableDataset DeserializeSqlServerTableDataset(JsonEleme Optional tableName = default; Optional> schema0 = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static SqlServerTableDataset DeserializeSqlServerTableDataset(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlServerTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, schema0.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.cs index 191ab9ce..f7454349 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlServerTableDataset.cs @@ -36,7 +36,7 @@ public SqlServerTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). /// The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - internal SqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.Serialization.cs index 54831adb..208aacc9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.Serialization.cs @@ -135,8 +135,8 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlWriterStoredProcedureName"u8)) @@ -279,7 +279,7 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value, sqlWriterUseTableLock.Value, writeBehavior.Value, upsertSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.cs index 0c366492..b2e8be86 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSink.cs @@ -36,7 +36,7 @@ public SqlSink() /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). /// Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). /// SQL upsert settings. - internal SqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.Serialization.cs index 809d90fc..910e27b5 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.Serialization.cs @@ -121,8 +121,8 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sqlReaderQuery"u8)) @@ -238,7 +238,7 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.cs index b7695d2f..855a8aaa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SqlSource.cs @@ -33,7 +33,7 @@ public SqlSource() /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal SqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.Serialization.cs index 0659658f..14b09a5c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.Serialization.cs @@ -142,8 +142,8 @@ internal static SquareLinkedService DeserializeSquareLinkedService(JsonElement e Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -289,7 +289,7 @@ internal static SquareLinkedService DeserializeSquareLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SquareLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, host.Value, clientId.Value, clientSecret, redirectUri.Value, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.cs index ed91913a..e4c9fee2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareLinkedService.cs @@ -34,7 +34,7 @@ public SquareLinkedService() /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SquareLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement host, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement redirectUri, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SquareLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement host, DataFactoryElement clientId, DataFactorySecretBaseDefinition clientSecret, DataFactoryElement redirectUri, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; Host = host; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.Serialization.cs index 060b7e3a..8a6a7f03 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SquareObjectDataset DeserializeSquareObjectDataset(JsonElement e Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static SquareObjectDataset DeserializeSquareObjectDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SquareObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.cs index 6e604cae..9f96a64a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareObjectDataset.cs @@ -34,7 +34,7 @@ public SquareObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal SquareObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SquareObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SquareObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.Serialization.cs index eebc24c5..c40117ad 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.Serialization.cs @@ -83,8 +83,8 @@ internal static SquareSource DeserializeSquareSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static SquareSource DeserializeSquareSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SquareSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.cs index dc7b2cd7..6331a0b1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SquareSource.cs @@ -28,7 +28,7 @@ public SquareSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal SquareSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SquareSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "SquareSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.Serialization.cs index 4dd84f5c..a6dfb728 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.Serialization.cs @@ -48,8 +48,8 @@ internal static StagingSettings DeserializeStagingSettings(JsonElement element) DataFactoryLinkedServiceReference linkedServiceName = default; Optional> path = default; Optional> enableCompression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -75,7 +75,7 @@ internal static StagingSettings DeserializeStagingSettings(JsonElement element) enableCompression = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new StagingSettings(linkedServiceName, path.Value, enableCompression.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.cs index f945fdc6..21078a0e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/StagingSettings.cs @@ -21,7 +21,7 @@ public StagingSettings(DataFactoryLinkedServiceReference linkedServiceName) Argument.AssertNotNull(linkedServiceName, nameof(linkedServiceName)); LinkedServiceName = linkedServiceName; - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of StagingSettings. @@ -29,7 +29,7 @@ public StagingSettings(DataFactoryLinkedServiceReference linkedServiceName) /// The path to storage for storing the interim data. Type: string (or Expression with resultType string). /// Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal StagingSettings(DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement path, DataFactoryElement enableCompression, IDictionary additionalProperties) + internal StagingSettings(DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement path, DataFactoryElement enableCompression, IDictionary> additionalProperties) { LinkedServiceName = linkedServiceName; Path = path; @@ -73,6 +73,6 @@ internal StagingSettings(DataFactoryLinkedServiceReference linkedServiceName, Da /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/StoreReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/StoreReadSettings.cs index b302ec7b..752ab193 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/StoreReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/StoreReadSettings.cs @@ -20,7 +20,7 @@ public partial class StoreReadSettings /// Initializes a new instance of StoreReadSettings. public StoreReadSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of StoreReadSettings. @@ -28,7 +28,7 @@ public StoreReadSettings() /// The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal StoreReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) + internal StoreReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) { StoreReadSettingsType = storeReadSettingsType; MaxConcurrentConnections = maxConcurrentConnections; @@ -72,6 +72,6 @@ internal StoreReadSettings(string storeReadSettingsType, DataFactoryElement /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/StoreWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/StoreWriteSettings.cs index 5063dbc2..bba608bb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/StoreWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/StoreWriteSettings.cs @@ -20,7 +20,7 @@ public partial class StoreWriteSettings /// Initializes a new instance of StoreWriteSettings. public StoreWriteSettings() { - AdditionalProperties = new ChangeTrackingDictionary(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of StoreWriteSettings. @@ -29,7 +29,7 @@ public StoreWriteSettings() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// The type of copy behavior for copy sink. /// Additional Properties. - internal StoreWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties) + internal StoreWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties) { StoreWriteSettingsType = storeWriteSettingsType; MaxConcurrentConnections = maxConcurrentConnections; @@ -105,6 +105,6 @@ internal StoreWriteSettings(string storeWriteSettingsType, DataFactoryElement /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.Serialization.cs index c88d1010..b0307da9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -107,8 +108,8 @@ internal static SwitchActivity DeserializeSwitchActivity(JsonElement element) DataFactoryExpression @on = default; Optional> cases = default; Optional> defaultActivities = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -217,7 +218,7 @@ internal static SwitchActivity DeserializeSwitchActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SwitchActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, @on, Optional.ToList(cases), Optional.ToList(defaultActivities)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.cs index 5d151fab..4f41cba8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SwitchActivity.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -43,7 +44,7 @@ public SwitchActivity(string name, DataFactoryExpression @on) : base(name) /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// - internal SwitchActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression @on, IList cases, IList defaultActivities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal SwitchActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryExpression @on, IList cases, IList defaultActivities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { On = @on; Cases = cases; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.Serialization.cs index df57e67c..ad131d53 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.Serialization.cs @@ -120,8 +120,8 @@ internal static SybaseLinkedService DeserializeSybaseLinkedService(JsonElement e Optional> username = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -241,7 +241,7 @@ internal static SybaseLinkedService DeserializeSybaseLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SybaseLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, server, database, schema.Value, Optional.ToNullable(authenticationType), username.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.cs index 5bc8aaa5..d0b54fff 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseLinkedService.cs @@ -41,7 +41,7 @@ public SybaseLinkedService(DataFactoryElement server, DataFactoryElement /// Username for authentication. Type: string (or Expression with resultType string). /// Password for authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SybaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement server, DataFactoryElement database, DataFactoryElement schema, SybaseAuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SybaseLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement server, DataFactoryElement database, DataFactoryElement schema, SybaseAuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Server = server; Database = database; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.Serialization.cs index 892b8feb..c12a950a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.Serialization.cs @@ -83,8 +83,8 @@ internal static SybaseSource DeserializeSybaseSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static SybaseSource DeserializeSybaseSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SybaseSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.cs index 7bf30fb3..f0250121 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseSource.cs @@ -28,7 +28,7 @@ public SybaseSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// Database query. Type: string (or Expression with resultType string). - internal SybaseSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SybaseSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "SybaseSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.Serialization.cs index 19e1cc30..558243a7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static SybaseTableDataset DeserializeSybaseTableDataset(JsonElement ele Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static SybaseTableDataset DeserializeSybaseTableDataset(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SybaseTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.cs index 171cb210..a0f8240d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SybaseTableDataset.cs @@ -34,7 +34,7 @@ public SybaseTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Sybase table name. Type: string (or Expression with resultType string). - internal SybaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SybaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SybaseTable"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.Serialization.cs index bcaf9164..717df432 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.Serialization.cs @@ -176,9 +176,9 @@ internal static SynapseNotebookActivity DeserializeSynapseNotebookActivity(JsonE Optional> numExecutors = default; Optional configurationType = default; Optional targetSparkConfiguration = default; - Optional> sparkConfig = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> sparkConfig = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -357,7 +357,7 @@ internal static SynapseNotebookActivity DeserializeSynapseNotebookActivity(JsonE { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -366,7 +366,7 @@ internal static SynapseNotebookActivity DeserializeSynapseNotebookActivity(JsonE } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } sparkConfig = dictionary; @@ -375,7 +375,7 @@ internal static SynapseNotebookActivity DeserializeSynapseNotebookActivity(JsonE } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SynapseNotebookActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, notebook, sparkPool.Value, Optional.ToDictionary(parameters), executorSize.Value, conf.Value, driverSize.Value, numExecutors.Value, Optional.ToNullable(configurationType), targetSparkConfiguration.Value, Optional.ToDictionary(sparkConfig)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.cs index 0808c1f4..3895e06d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseNotebookActivity.cs @@ -24,7 +24,7 @@ public SynapseNotebookActivity(string name, SynapseNotebookReference notebook) : Notebook = notebook; Parameters = new ChangeTrackingDictionary(); - SparkConfig = new ChangeTrackingDictionary(); + SparkConfig = new ChangeTrackingDictionary>(); ActivityType = "SynapseNotebook"; } @@ -49,7 +49,7 @@ public SynapseNotebookActivity(string name, SynapseNotebookReference notebook) : /// The type of the spark config. /// The spark configuration of the spark job. /// Spark configuration property. - internal SynapseNotebookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, SynapseNotebookReference notebook, BigDataPoolParametrizationReference sparkPool, IDictionary parameters, DataFactoryElement executorSize, BinaryData conf, DataFactoryElement driverSize, DataFactoryElement numExecutors, DataFactorySparkConfigurationType? configurationType, SparkConfigurationParametrizationReference targetSparkConfiguration, IDictionary sparkConfig) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal SynapseNotebookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, SynapseNotebookReference notebook, BigDataPoolParametrizationReference sparkPool, IDictionary parameters, DataFactoryElement executorSize, BinaryData conf, DataFactoryElement driverSize, DataFactoryElement numExecutors, DataFactorySparkConfigurationType? configurationType, SparkConfigurationParametrizationReference targetSparkConfiguration, IDictionary> sparkConfig) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Notebook = notebook; SparkPool = sparkPool; @@ -141,6 +141,6 @@ internal SynapseNotebookActivity(string name, string activityType, string descri /// /// /// - public IDictionary SparkConfig { get; } + public IDictionary> SparkConfig { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.Serialization.cs index 8fe56ca5..e170c1bf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.Serialization.cs @@ -262,9 +262,9 @@ internal static SynapseSparkJobDefinitionActivity DeserializeSynapseSparkJobDefi Optional> numExecutors = default; Optional configurationType = default; Optional targetSparkConfiguration = default; - Optional> sparkConfig = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + Optional>> sparkConfig = default; + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -540,7 +540,7 @@ internal static SynapseSparkJobDefinitionActivity DeserializeSynapseSparkJobDefi { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property1 in property0.Value.EnumerateObject()) { if (property1.Value.ValueKind == JsonValueKind.Null) @@ -549,7 +549,7 @@ internal static SynapseSparkJobDefinitionActivity DeserializeSynapseSparkJobDefi } else { - dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + dictionary.Add(property1.Name, JsonSerializer.Deserialize>(property1.Value.GetRawText())); } } sparkConfig = dictionary; @@ -558,7 +558,7 @@ internal static SynapseSparkJobDefinitionActivity DeserializeSynapseSparkJobDefi } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new SynapseSparkJobDefinitionActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, sparkJob, Optional.ToList(args), file.Value, scanFolder.Value, className.Value, Optional.ToList(files), Optional.ToList(pythonCodeReference), Optional.ToList(filesV2), targetBigDataPool.Value, executorSize.Value, conf.Value, driverSize.Value, numExecutors.Value, Optional.ToNullable(configurationType), targetSparkConfiguration.Value, Optional.ToDictionary(sparkConfig)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.cs index 21463e20..8ea0ad6d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/SynapseSparkJobDefinitionActivity.cs @@ -27,7 +27,7 @@ public SynapseSparkJobDefinitionActivity(string name, SynapseSparkJobReference s Files = new ChangeTrackingList(); PythonCodeReference = new ChangeTrackingList(); FilesV2 = new ChangeTrackingList(); - SparkConfig = new ChangeTrackingDictionary(); + SparkConfig = new ChangeTrackingDictionary>(); ActivityType = "SparkJob"; } @@ -58,7 +58,7 @@ public SynapseSparkJobDefinitionActivity(string name, SynapseSparkJobReference s /// The type of the spark config. /// The spark configuration of the spark job. /// Spark configuration property. - internal SynapseSparkJobDefinitionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, SynapseSparkJobReference sparkJob, IList arguments, DataFactoryElement file, DataFactoryElement scanFolder, DataFactoryElement className, IList files, IList pythonCodeReference, IList filesV2, BigDataPoolParametrizationReference targetBigDataPool, DataFactoryElement executorSize, BinaryData conf, DataFactoryElement driverSize, DataFactoryElement numExecutors, DataFactorySparkConfigurationType? configurationType, SparkConfigurationParametrizationReference targetSparkConfiguration, IDictionary sparkConfig) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal SynapseSparkJobDefinitionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, SynapseSparkJobReference sparkJob, IList arguments, DataFactoryElement file, DataFactoryElement scanFolder, DataFactoryElement className, IList files, IList pythonCodeReference, IList filesV2, BigDataPoolParametrizationReference targetBigDataPool, DataFactoryElement executorSize, BinaryData conf, DataFactoryElement driverSize, DataFactoryElement numExecutors, DataFactorySparkConfigurationType? configurationType, SparkConfigurationParametrizationReference targetSparkConfiguration, IDictionary> sparkConfig) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { SparkJob = sparkJob; Arguments = arguments; @@ -284,6 +284,6 @@ internal SynapseSparkJobDefinitionActivity(string name, string activityType, str /// /// /// - public IDictionary SparkConfig { get; } + public IDictionary> SparkConfig { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.Serialization.cs index 23cef347..a860d0bf 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.Serialization.cs @@ -142,8 +142,8 @@ internal static TabularSource DeserializeTabularSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("queryTimeout"u8)) @@ -205,7 +205,7 @@ internal static TabularSource DeserializeTabularSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TabularSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.cs index 33831caa..a98a011c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TabularSource.cs @@ -31,7 +31,7 @@ public TabularSource() /// Additional Properties. /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal TabularSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal TabularSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { QueryTimeout = queryTimeout; AdditionalColumns = additionalColumns; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.Serialization.cs index 5bd18977..d0fac7e0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.Serialization.cs @@ -43,8 +43,8 @@ internal static TarGzipReadSettings DeserializeTarGzipReadSettings(JsonElement e } Optional> preserveCompressionFileNameAsFolder = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preserveCompressionFileNameAsFolder"u8)) @@ -61,7 +61,7 @@ internal static TarGzipReadSettings DeserializeTarGzipReadSettings(JsonElement e type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TarGzipReadSettings(type, additionalProperties, preserveCompressionFileNameAsFolder.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.cs index 894d5286..fcd7b014 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TarGzipReadSettings.cs @@ -22,7 +22,7 @@ public TarGzipReadSettings() /// The Compression setting type. /// Additional Properties. /// Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). - internal TarGzipReadSettings(string compressionReadSettingsType, IDictionary additionalProperties, DataFactoryElement preserveCompressionFileNameAsFolder) : base(compressionReadSettingsType, additionalProperties) + internal TarGzipReadSettings(string compressionReadSettingsType, IDictionary> additionalProperties, DataFactoryElement preserveCompressionFileNameAsFolder) : base(compressionReadSettingsType, additionalProperties) { PreserveCompressionFileNameAsFolder = preserveCompressionFileNameAsFolder; CompressionReadSettingsType = compressionReadSettingsType ?? "TarGZipReadSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.Serialization.cs index 058306af..6b60fb30 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.Serialization.cs @@ -43,8 +43,8 @@ internal static TarReadSettings DeserializeTarReadSettings(JsonElement element) } Optional> preserveCompressionFileNameAsFolder = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preserveCompressionFileNameAsFolder"u8)) @@ -61,7 +61,7 @@ internal static TarReadSettings DeserializeTarReadSettings(JsonElement element) type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TarReadSettings(type, additionalProperties, preserveCompressionFileNameAsFolder.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.cs index 651d7c96..3156e24a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TarReadSettings.cs @@ -22,7 +22,7 @@ public TarReadSettings() /// The Compression setting type. /// Additional Properties. /// Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). - internal TarReadSettings(string compressionReadSettingsType, IDictionary additionalProperties, DataFactoryElement preserveCompressionFileNameAsFolder) : base(compressionReadSettingsType, additionalProperties) + internal TarReadSettings(string compressionReadSettingsType, IDictionary> additionalProperties, DataFactoryElement preserveCompressionFileNameAsFolder) : base(compressionReadSettingsType, additionalProperties) { PreserveCompressionFileNameAsFolder = preserveCompressionFileNameAsFolder; CompressionReadSettingsType = compressionReadSettingsType ?? "TarReadSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.Serialization.cs index 96890fbb..71d428a8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static TeamDeskLinkedService DeserializeTeamDeskLinkedService(JsonEleme Optional password = default; Optional apiToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -226,7 +226,7 @@ internal static TeamDeskLinkedService DeserializeTeamDeskLinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TeamDeskLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, authenticationType, url, userName.Value, password, apiToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.cs index a235e73c..17722db0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeamDeskLinkedService.cs @@ -39,7 +39,7 @@ public TeamDeskLinkedService(TeamDeskAuthenticationType authenticationType, Data /// The password of the TeamDesk source. /// The api token for the TeamDesk source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal TeamDeskLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, TeamDeskAuthenticationType authenticationType, DataFactoryElement uri, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal TeamDeskLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, TeamDeskAuthenticationType authenticationType, DataFactoryElement uri, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AuthenticationType = authenticationType; Uri = uri; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.Serialization.cs index d320d5a2..484daf03 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.Serialization.cs @@ -124,8 +124,8 @@ internal static TeradataLinkedService DeserializeTeradataLinkedService(JsonEleme Optional> username = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -244,7 +244,7 @@ internal static TeradataLinkedService DeserializeTeradataLinkedService(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TeradataLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, server.Value, Optional.ToNullable(authenticationType), username.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.cs index 0aa3bad9..d729a86b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataLinkedService.cs @@ -31,7 +31,7 @@ public TeradataLinkedService() /// Username for authentication. Type: string (or Expression with resultType string). /// Password for authentication. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal TeradataLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionString, DataFactoryElement server, TeradataAuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal TeradataLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionString, DataFactoryElement server, TeradataAuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecretBaseDefinition password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Server = server; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.Serialization.cs index a4832ebf..cd4eb430 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.Serialization.cs @@ -99,8 +99,8 @@ internal static TeradataSource DeserializeTeradataSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -189,7 +189,7 @@ internal static TeradataSource DeserializeTeradataSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TeradataSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, partitionOption.Value, partitionSettings.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.cs index 31f372e4..9182ad8b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataSource.cs @@ -30,7 +30,7 @@ public TeradataSource() /// Teradata query. Type: string (or Expression with resultType string). /// The partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". /// The settings that will be leveraged for teradata source partitioning. - internal TeradataSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, BinaryData partitionOption, TeradataPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal TeradataSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query, BinaryData partitionOption, TeradataPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; PartitionOption = partitionOption; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.Serialization.cs index bb2644a3..9784d71d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.Serialization.cs @@ -110,8 +110,8 @@ internal static TeradataTableDataset DeserializeTeradataTableDataset(JsonElement Optional folder = default; Optional> database = default; Optional> table = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -221,7 +221,7 @@ internal static TeradataTableDataset DeserializeTeradataTableDataset(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TeradataTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, database.Value, table.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.cs index 651bd1e7..db6fdc72 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TeradataTableDataset.cs @@ -35,7 +35,7 @@ public TeradataTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// Additional Properties. /// The database name of Teradata. Type: string (or Expression with resultType string). /// The table name of Teradata. Type: string (or Expression with resultType string). - internal TeradataTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement database, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal TeradataTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement database, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Database = database; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.Serialization.cs index 443d299b..41f94a2f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -50,7 +51,7 @@ internal static TriggerPipelineReference DeserializeTriggerPipelineReference(Jso return null; } Optional pipelineReference = default; - Optional> parameters = default; + Optional>> parameters = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipelineReference"u8)) @@ -68,7 +69,7 @@ internal static TriggerPipelineReference DeserializeTriggerPipelineReference(Jso { continue; } - Dictionary dictionary = new Dictionary(); + Dictionary> dictionary = new Dictionary>(); foreach (var property0 in property.Value.EnumerateObject()) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -77,7 +78,7 @@ internal static TriggerPipelineReference DeserializeTriggerPipelineReference(Jso } else { - dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText())); + dictionary.Add(property0.Name, JsonSerializer.Deserialize>(property0.Value.GetRawText())); } } parameters = dictionary; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.cs index 76c45538..58865dac 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TriggerPipelineReference.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -15,13 +16,13 @@ public partial class TriggerPipelineReference /// Initializes a new instance of TriggerPipelineReference. public TriggerPipelineReference() { - Parameters = new ChangeTrackingDictionary(); + Parameters = new ChangeTrackingDictionary>(); } /// Initializes a new instance of TriggerPipelineReference. /// Pipeline reference. /// Pipeline parameters. - internal TriggerPipelineReference(DataFactoryPipelineReference pipelineReference, IDictionary parameters) + internal TriggerPipelineReference(DataFactoryPipelineReference pipelineReference, IDictionary> parameters) { PipelineReference = pipelineReference; Parameters = parameters; @@ -59,6 +60,6 @@ internal TriggerPipelineReference(DataFactoryPipelineReference pipelineReference /// /// /// - public IDictionary Parameters { get; } + public IDictionary> Parameters { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.Serialization.cs index 9006cfc6..3348419c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.Serialization.cs @@ -111,8 +111,8 @@ internal static TumblingWindowTrigger DeserializeTumblingWindowTrigger(JsonEleme int maxConcurrency = default; Optional retryPolicy = default; Optional> dependsOn = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("pipeline"u8)) @@ -233,7 +233,7 @@ internal static TumblingWindowTrigger DeserializeTumblingWindowTrigger(JsonEleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TumblingWindowTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties, pipeline, frequency, interval, startTime, Optional.ToNullable(endTime), delay.Value, maxConcurrency, retryPolicy.Value, Optional.ToList(dependsOn)); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.cs index 4840384d..ea73b55b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TumblingWindowTrigger.cs @@ -52,7 +52,7 @@ public TumblingWindowTrigger(TriggerPipelineReference pipeline, TumblingWindowFr /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// - internal TumblingWindowTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties, TriggerPipelineReference pipeline, TumblingWindowFrequency frequency, int interval, DateTimeOffset startOn, DateTimeOffset? endOn, DataFactoryElement delay, int maxConcurrency, RetryPolicy retryPolicy, IList dependsOn) : base(triggerType, description, runtimeState, annotations, additionalProperties) + internal TumblingWindowTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties, TriggerPipelineReference pipeline, TumblingWindowFrequency frequency, int interval, DateTimeOffset startOn, DateTimeOffset? endOn, DataFactoryElement delay, int maxConcurrency, RetryPolicy retryPolicy, IList dependsOn) : base(triggerType, description, runtimeState, annotations, additionalProperties) { Pipeline = pipeline; Frequency = frequency; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.Serialization.cs index d194d004..49bd8afd 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.Serialization.cs @@ -89,8 +89,8 @@ internal static TwilioLinkedService DeserializeTwilioLinkedService(JsonElement e Optional> annotations = default; DataFactoryElement userName = default; DataFactorySecretBaseDefinition password = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -169,7 +169,7 @@ internal static TwilioLinkedService DeserializeTwilioLinkedService(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new TwilioLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, userName, password); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.cs index 9a8c38e2..07befe96 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/TwilioLinkedService.cs @@ -36,7 +36,7 @@ public TwilioLinkedService(DataFactoryElement userName, DataFactorySecre /// Additional Properties. /// The Account SID of Twilio service. Type: string (or Expression with resultType string). /// The auth token of Twilio service. - internal TwilioLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement userName, DataFactorySecretBaseDefinition password) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal TwilioLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement userName, DataFactorySecretBaseDefinition password) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { UserName = userName; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.Serialization.cs index d82f9965..440b3787 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -79,8 +80,8 @@ internal static UnknownActivity DeserializeUnknownActivity(JsonElement element) Optional onInactiveMarkAs = default; Optional> dependsOn = default; Optional> userProperties = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -144,7 +145,7 @@ internal static UnknownActivity DeserializeUnknownActivity(JsonElement element) userProperties = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.cs index 78e3b81f..3f3c0bed 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownActivity.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownActivity. @@ -19,7 +21,7 @@ internal partial class UnknownActivity : PipelineActivity /// Activity depends on condition. /// Activity user properties. /// Additional Properties. - internal UnknownActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal UnknownActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { ActivityType = activityType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.Serialization.cs index fe9002db..c7049fc4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -36,8 +37,8 @@ internal static UnknownCompressionReadSettings DeserializeUnknownCompressionRead return null; } string type = "Unknown"; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -45,7 +46,7 @@ internal static UnknownCompressionReadSettings DeserializeUnknownCompressionRead type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownCompressionReadSettings(type, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.cs index 2957a82f..c6177909 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCompressionReadSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownCompressionReadSettings. @@ -13,7 +15,7 @@ internal partial class UnknownCompressionReadSettings : CompressionReadSettings /// Initializes a new instance of UnknownCompressionReadSettings. /// The Compression setting type. /// Additional Properties. - internal UnknownCompressionReadSettings(string compressionReadSettingsType, IDictionary additionalProperties) : base(compressionReadSettingsType, additionalProperties) + internal UnknownCompressionReadSettings(string compressionReadSettingsType, IDictionary> additionalProperties) : base(compressionReadSettingsType, additionalProperties) { CompressionReadSettingsType = compressionReadSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.Serialization.cs index b21dd5b3..1bac3857 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.Serialization.cs @@ -73,8 +73,8 @@ internal static UnknownCopySink DeserializeUnknownCopySink(JsonElement element) Optional> sinkRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -136,7 +136,7 @@ internal static UnknownCopySink DeserializeUnknownCopySink(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownCopySink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.cs index d67a537c..63ed8e26 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySink.cs @@ -21,7 +21,7 @@ internal partial class UnknownCopySink : CopySink /// The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal UnknownCopySink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal UnknownCopySink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { CopySinkType = copySinkType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.Serialization.cs index a58e7261..7729d7ca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.Serialization.cs @@ -61,8 +61,8 @@ internal static UnknownCopySource DeserializeUnknownCopySource(JsonElement eleme Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -106,7 +106,7 @@ internal static UnknownCopySource DeserializeUnknownCopySource(JsonElement eleme disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownCopySource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.cs index 6c7bed99..ba8e60a2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCopySource.cs @@ -19,7 +19,7 @@ internal partial class UnknownCopySource : CopyActivitySource /// The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal UnknownCopySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal UnknownCopySource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { CopySourceType = copySourceType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.Serialization.cs index a6051c8d..ca65d5ca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -62,8 +63,8 @@ internal static UnknownCredential DeserializeUnknownCredential(JsonElement eleme string type = "Unknown"; Optional description = default; Optional> annotations = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -97,7 +98,7 @@ internal static UnknownCredential DeserializeUnknownCredential(JsonElement eleme annotations = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownCredential(type, description.Value, Optional.ToList(annotations), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.cs index 52bffc19..8dd3d660 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownCredential.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownCredential. @@ -15,7 +17,7 @@ internal partial class UnknownCredential : DataFactoryCredential /// Credential description. /// List of tags that can be used for describing the Credential. /// Additional Properties. - internal UnknownCredential(string credentialType, string description, IList annotations, IDictionary additionalProperties) : base(credentialType, description, annotations, additionalProperties) + internal UnknownCredential(string credentialType, string description, IList annotations, IDictionary> additionalProperties) : base(credentialType, description, annotations, additionalProperties) { CredentialType = credentialType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.Serialization.cs index 5f734125..aa2c7d75 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.Serialization.cs @@ -95,8 +95,8 @@ internal static UnknownDataset DeserializeUnknownDataset(JsonElement element) Optional> parameters = default; Optional> annotations = default; Optional folder = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -176,7 +176,7 @@ internal static UnknownDataset DeserializeUnknownDataset(JsonElement element) folder = DatasetFolder.DeserializeDatasetFolder(property.Value); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.cs index 571824c9..a3db0dac 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDataset.cs @@ -22,7 +22,7 @@ internal partial class UnknownDataset : DataFactoryDatasetProperties /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - internal UnknownDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal UnknownDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DatasetType = datasetType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.Serialization.cs index e5b42cf9..13facf0f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.Serialization.cs @@ -49,8 +49,8 @@ internal static UnknownDatasetLocation DeserializeUnknownDatasetLocation(JsonEle string type = "Unknown"; Optional> folderPath = default; Optional> fileName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static UnknownDatasetLocation DeserializeUnknownDatasetLocation(JsonEle fileName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownDatasetLocation(type, folderPath.Value, fileName.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.cs index e9931457..f762b85f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetLocation.cs @@ -17,7 +17,7 @@ internal partial class UnknownDatasetLocation : DatasetLocation /// Specify the folder path of dataset. Type: string (or Expression with resultType string). /// Specify the file name of dataset. Type: string (or Expression with resultType string). /// Additional Properties. - internal UnknownDatasetLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) + internal UnknownDatasetLocation(string datasetLocationType, DataFactoryElement folderPath, DataFactoryElement fileName, IDictionary> additionalProperties) : base(datasetLocationType, folderPath, fileName, additionalProperties) { DatasetLocationType = datasetLocationType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.Serialization.cs index 2b38eea4..264316c2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.Serialization.cs @@ -49,8 +49,8 @@ internal static UnknownDatasetStorageFormat DeserializeUnknownDatasetStorageForm string type = "Unknown"; Optional> serializer = default; Optional> deserializer = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static UnknownDatasetStorageFormat DeserializeUnknownDatasetStorageForm deserializer = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownDatasetStorageFormat(type, serializer.Value, deserializer.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.cs index fb33b29c..48bcaf91 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownDatasetStorageFormat.cs @@ -17,7 +17,7 @@ internal partial class UnknownDatasetStorageFormat : DatasetStorageFormat /// Serializer. Type: string (or Expression with resultType string). /// Deserializer. Type: string (or Expression with resultType string). /// Additional Properties. - internal UnknownDatasetStorageFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) + internal UnknownDatasetStorageFormat(string datasetStorageFormatType, DataFactoryElement serializer, DataFactoryElement deserializer, IDictionary> additionalProperties) : base(datasetStorageFormatType, serializer, deserializer, additionalProperties) { DatasetStorageFormatType = datasetStorageFormatType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.Serialization.cs index fd22dbf3..69b2d69f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -36,8 +37,8 @@ internal static UnknownExportSettings DeserializeUnknownExportSettings(JsonEleme return null; } string type = "Unknown"; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -45,7 +46,7 @@ internal static UnknownExportSettings DeserializeUnknownExportSettings(JsonEleme type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownExportSettings(type, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.cs index 82281ce6..d705b3f3 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownExportSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownExportSettings. @@ -13,7 +15,7 @@ internal partial class UnknownExportSettings : ExportSettings /// Initializes a new instance of UnknownExportSettings. /// The export setting type. /// Additional Properties. - internal UnknownExportSettings(string exportSettingsType, IDictionary additionalProperties) : base(exportSettingsType, additionalProperties) + internal UnknownExportSettings(string exportSettingsType, IDictionary> additionalProperties) : base(exportSettingsType, additionalProperties) { ExportSettingsType = exportSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.Serialization.cs index 84f7530b..d5d908f6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -36,8 +37,8 @@ internal static UnknownFormatReadSettings DeserializeUnknownFormatReadSettings(J return null; } string type = "Unknown"; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -45,7 +46,7 @@ internal static UnknownFormatReadSettings DeserializeUnknownFormatReadSettings(J type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownFormatReadSettings(type, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.cs index 52a504ca..868d9166 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatReadSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownFormatReadSettings. @@ -13,7 +15,7 @@ internal partial class UnknownFormatReadSettings : FormatReadSettings /// Initializes a new instance of UnknownFormatReadSettings. /// The read setting type. /// Additional Properties. - internal UnknownFormatReadSettings(string formatReadSettingsType, IDictionary additionalProperties) : base(formatReadSettingsType, additionalProperties) + internal UnknownFormatReadSettings(string formatReadSettingsType, IDictionary> additionalProperties) : base(formatReadSettingsType, additionalProperties) { FormatReadSettingsType = formatReadSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.Serialization.cs index 7c9d703e..435e50ca 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -36,8 +37,8 @@ internal static UnknownFormatWriteSettings DeserializeUnknownFormatWriteSettings return null; } string type = "Unknown"; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -45,7 +46,7 @@ internal static UnknownFormatWriteSettings DeserializeUnknownFormatWriteSettings type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownFormatWriteSettings(type, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.cs index b56bbf9f..f5832947 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownFormatWriteSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownFormatWriteSettings. @@ -13,7 +15,7 @@ internal partial class UnknownFormatWriteSettings : FormatWriteSettings /// Initializes a new instance of UnknownFormatWriteSettings. /// The write setting type. /// Additional Properties. - internal UnknownFormatWriteSettings(string formatWriteSettingsType, IDictionary additionalProperties) : base(formatWriteSettingsType, additionalProperties) + internal UnknownFormatWriteSettings(string formatWriteSettingsType, IDictionary> additionalProperties) : base(formatWriteSettingsType, additionalProperties) { FormatWriteSettingsType = formatWriteSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.Serialization.cs index 410c4fc7..803d6eb9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -36,8 +37,8 @@ internal static UnknownImportSettings DeserializeUnknownImportSettings(JsonEleme return null; } string type = "Unknown"; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -45,7 +46,7 @@ internal static UnknownImportSettings DeserializeUnknownImportSettings(JsonEleme type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownImportSettings(type, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.cs index c8e04742..d83665eb 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownImportSettings.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownImportSettings. @@ -13,7 +15,7 @@ internal partial class UnknownImportSettings : ImportSettings /// Initializes a new instance of UnknownImportSettings. /// The import setting type. /// Additional Properties. - internal UnknownImportSettings(string importSettingsType, IDictionary additionalProperties) : base(importSettingsType, additionalProperties) + internal UnknownImportSettings(string importSettingsType, IDictionary> additionalProperties) : base(importSettingsType, additionalProperties) { ImportSettingsType = importSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.Serialization.cs index 570bb6ad..e695ee83 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -42,8 +43,8 @@ internal static UnknownIntegrationRuntime DeserializeUnknownIntegrationRuntime(J } IntegrationRuntimeType type = "Unknown"; Optional description = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -56,7 +57,7 @@ internal static UnknownIntegrationRuntime DeserializeUnknownIntegrationRuntime(J description = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownIntegrationRuntime(type, description.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.cs index 4cdde1d8..6183e1aa 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntime.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownIntegrationRuntime. @@ -14,7 +16,7 @@ internal partial class UnknownIntegrationRuntime : DataFactoryIntegrationRuntime /// Type of integration runtime. /// Integration runtime description. /// Additional Properties. - internal UnknownIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary additionalProperties) : base(integrationRuntimeType, description, additionalProperties) + internal UnknownIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary> additionalProperties) : base(integrationRuntimeType, description, additionalProperties) { IntegrationRuntimeType = integrationRuntimeType; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.Serialization.cs index 9a4a32d8..25caf5b9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -21,8 +22,8 @@ internal static UnknownIntegrationRuntimeStatus DeserializeUnknownIntegrationRun IntegrationRuntimeType type = "Unknown"; Optional dataFactoryName = default; Optional state = default; - IReadOnlyDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IReadOnlyDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -44,7 +45,7 @@ internal static UnknownIntegrationRuntimeStatus DeserializeUnknownIntegrationRun state = new IntegrationRuntimeState(property.Value.GetString()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownIntegrationRuntimeStatus(type, dataFactoryName.Value, Optional.ToNullable(state), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.cs index 9cc46af1..3aa0e8d7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownIntegrationRuntimeStatus.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownIntegrationRuntimeStatus. @@ -15,7 +17,7 @@ internal partial class UnknownIntegrationRuntimeStatus : IntegrationRuntimeStatu /// The data factory name which the integration runtime belong to. /// The state of integration runtime. /// Additional Properties. - internal UnknownIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary additionalProperties) : base(runtimeType, dataFactoryName, state, additionalProperties) + internal UnknownIntegrationRuntimeStatus(IntegrationRuntimeType runtimeType, string dataFactoryName, IntegrationRuntimeState? state, IReadOnlyDictionary> additionalProperties) : base(runtimeType, dataFactoryName, state, additionalProperties) { RuntimeType = runtimeType; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.Serialization.cs index c50c3623..b5afa9bc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -80,8 +81,8 @@ internal static UnknownLinkedService DeserializeUnknownLinkedService(JsonElement Optional description = default; Optional> parameters = default; Optional> annotations = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -138,7 +139,7 @@ internal static UnknownLinkedService DeserializeUnknownLinkedService(JsonElement annotations = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.cs index 6a293430..85225da2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownLinkedService.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownLinkedService. @@ -17,7 +19,7 @@ internal partial class UnknownLinkedService : DataFactoryLinkedServiceProperties /// Parameters for linked service. /// List of tags that can be used for describing the linked service. /// Additional Properties. - internal UnknownLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal UnknownLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { LinkedServiceType = linkedServiceType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.Serialization.cs index 9f3de59c..ba23a98f 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.Serialization.cs @@ -49,8 +49,8 @@ internal static UnknownStoreReadSettings DeserializeUnknownStoreReadSettings(Jso string type = "Unknown"; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -76,7 +76,7 @@ internal static UnknownStoreReadSettings DeserializeUnknownStoreReadSettings(Jso disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownStoreReadSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.cs index 54296d2e..5fe8bab9 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreReadSettings.cs @@ -17,7 +17,7 @@ internal partial class UnknownStoreReadSettings : StoreReadSettings /// The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. - internal UnknownStoreReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal UnknownStoreReadSettings(string storeReadSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties) : base(storeReadSettingsType, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreReadSettingsType = storeReadSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.Serialization.cs index 46f13a2e..4a2e118a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.Serialization.cs @@ -59,8 +59,8 @@ internal static UnknownStoreWriteSettings DeserializeUnknownStoreWriteSettings(J Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; Optional copyBehavior = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -95,7 +95,7 @@ internal static UnknownStoreWriteSettings DeserializeUnknownStoreWriteSettings(J copyBehavior = BinaryData.FromString(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownStoreWriteSettings(type, maxConcurrentConnections.Value, disableMetricsCollection.Value, copyBehavior.Value, additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.cs index 2fc507a4..4dc67625 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownStoreWriteSettings.cs @@ -18,7 +18,7 @@ internal partial class UnknownStoreWriteSettings : StoreWriteSettings /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// The type of copy behavior for copy sink. /// Additional Properties. - internal UnknownStoreWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary additionalProperties) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) + internal UnknownStoreWriteSettings(string storeWriteSettingsType, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, BinaryData copyBehavior, IDictionary> additionalProperties) : base(storeWriteSettingsType, maxConcurrentConnections, disableMetricsCollection, copyBehavior, additionalProperties) { StoreWriteSettingsType = storeWriteSettingsType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.Serialization.cs index 9c092a93..f7cec3b7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -63,8 +64,8 @@ internal static UnknownTrigger DeserializeUnknownTrigger(JsonElement element) Optional description = default; Optional runtimeState = default; Optional> annotations = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -107,7 +108,7 @@ internal static UnknownTrigger DeserializeUnknownTrigger(JsonElement element) annotations = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UnknownTrigger(type, description.Value, Optional.ToNullable(runtimeState), Optional.ToList(annotations), additionalProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.cs index 48677403..3f20b8fc 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UnknownTrigger.cs @@ -5,6 +5,8 @@ #nullable disable +using Azure.Core.Expressions.DataFactory; + namespace AzureDataFactory.TestingFramework.Models { /// The UnknownTrigger. @@ -16,7 +18,7 @@ internal partial class UnknownTrigger : DataFactoryTriggerProperties /// Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. /// List of tags that can be used for describing the trigger. /// Additional Properties. - internal UnknownTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary additionalProperties) : base(triggerType, description, runtimeState, annotations, additionalProperties) + internal UnknownTrigger(string triggerType, string description, DataFactoryTriggerRuntimeState? runtimeState, IList annotations, IDictionary> additionalProperties) : base(triggerType, description, runtimeState, annotations, additionalProperties) { TriggerType = triggerType ?? "Unknown"; } diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.Serialization.cs index b8cedde3..75985d00 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.Serialization.cs @@ -100,8 +100,8 @@ internal static UntilActivity DeserializeUntilActivity(JsonElement element) DataFactoryExpression expression = default; Optional> timeout = default; IList activities = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -201,7 +201,7 @@ internal static UntilActivity DeserializeUntilActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new UntilActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, expression, timeout.Value, activities); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.cs index bff69127..9237c7e7 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/UntilActivity.cs @@ -49,7 +49,7 @@ public UntilActivity(string name, DataFactoryExpression expression, IEnumerable< /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// - internal UntilActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression expression, DataFactoryElement timeout, IList activities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal UntilActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryExpression expression, DataFactoryElement timeout, IList activities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Expression = expression; Timeout = timeout; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.Serialization.cs index bfd56493..0506eee0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.Serialization.cs @@ -110,8 +110,8 @@ internal static ValidationActivity DeserializeValidationActivity(JsonElement ele Optional> minimumSize = default; Optional> childItems = default; DatasetReference dataset = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -228,7 +228,7 @@ internal static ValidationActivity DeserializeValidationActivity(JsonElement ele } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ValidationActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, timeout.Value, sleep.Value, minimumSize.Value, childItems.Value, dataset); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.cs index 07eb9020..fb09afab 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ValidationActivity.cs @@ -40,7 +40,7 @@ public ValidationActivity(string name, DatasetReference dataset) : base(name) /// Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). /// Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). /// Validation activity dataset reference. - internal ValidationActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryElement timeout, DataFactoryElement sleep, DataFactoryElement minimumSize, DataFactoryElement childItems, DatasetReference dataset) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal ValidationActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryElement timeout, DataFactoryElement sleep, DataFactoryElement minimumSize, DataFactoryElement childItems, DatasetReference dataset) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Timeout = timeout; Sleep = sleep; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.Serialization.cs index 07a791a7..8e85fc22 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.Serialization.cs @@ -102,8 +102,8 @@ internal static VerticaLinkedService DeserializeVerticaLinkedService(JsonElement Optional> connectionString = default; Optional password = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -195,7 +195,7 @@ internal static VerticaLinkedService DeserializeVerticaLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new VerticaLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionString.Value, password, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.cs index e6b762db..e0215b5a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaLinkedService.cs @@ -28,7 +28,7 @@ public VerticaLinkedService() /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal VerticaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal VerticaLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.Serialization.cs index 66f34c4c..a00f7e72 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.Serialization.cs @@ -83,8 +83,8 @@ internal static VerticaSource DeserializeVerticaSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static VerticaSource DeserializeVerticaSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new VerticaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.cs index 54d37c4d..bc5540a1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaSource.cs @@ -28,7 +28,7 @@ public VerticaSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal VerticaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal VerticaSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "VerticaSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.Serialization.cs index af7874bf..44327abe 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.Serialization.cs @@ -120,8 +120,8 @@ internal static VerticaTableDataset DeserializeVerticaTableDataset(JsonElement e Optional tableName = default; Optional> table = default; Optional> schema0 = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -240,7 +240,7 @@ internal static VerticaTableDataset DeserializeVerticaTableDataset(JsonElement e } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new VerticaTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value, table.Value, schema0.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.cs index f43ff702..f0264be0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/VerticaTableDataset.cs @@ -36,7 +36,7 @@ public VerticaTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Vertica. Type: string (or Expression with resultType string). /// The schema name of the Vertica. Type: string (or Expression with resultType string). - internal VerticaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal VerticaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.Serialization.cs index f21bf727..37d10283 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.Serialization.cs @@ -86,8 +86,8 @@ internal static WaitActivity DeserializeWaitActivity(JsonElement element) Optional> dependsOn = default; Optional> userProperties = default; DataFactoryElement waitTimeInSeconds = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -168,7 +168,7 @@ internal static WaitActivity DeserializeWaitActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new WaitActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, waitTimeInSeconds); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.cs index f96bc4da..aedf8e5d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WaitActivity.cs @@ -36,7 +36,7 @@ public WaitActivity(string name, DataFactoryElement waitTimeInSeconds) : ba /// Activity user properties. /// Additional Properties. /// Duration in seconds. Type: integer (or Expression with resultType integer). - internal WaitActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryElement waitTimeInSeconds) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal WaitActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryElement waitTimeInSeconds) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { WaitTimeInSeconds = waitTimeInSeconds; ActivityType = activityType ?? "Wait"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.Serialization.cs index c9caf6c1..716ffe38 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.Serialization.cs @@ -153,8 +153,8 @@ internal static WebActivity DeserializeWebActivity(JsonElement element) Optional> datasets = default; Optional> linkedServices = default; Optional connectVia = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("linkedServiceName"u8)) @@ -331,7 +331,7 @@ internal static WebActivity DeserializeWebActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new WebActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, method, url, headers.Value, body.Value, authentication.Value, Optional.ToNullable(disableCertValidation), Optional.ToList(datasets), Optional.ToList(linkedServices), connectVia.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.cs index 6daa56b5..f0a118b4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebActivity.cs @@ -50,7 +50,7 @@ public WebActivity(string name, WebActivityMethod method, DataFactoryElement List of datasets passed to web endpoint. /// List of linked services passed to web endpoint. /// The integration runtime reference. - internal WebActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, WebActivityMethod method, DataFactoryElement uri, Dictionary> headers, DataFactoryElement body, WebActivityAuthentication authentication, bool? disableCertValidation, IList datasets, IList linkedServices, IntegrationRuntimeReference connectVia) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal WebActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, WebActivityMethod method, DataFactoryElement uri, Dictionary> headers, DataFactoryElement body, WebActivityAuthentication authentication, bool? disableCertValidation, IList datasets, IList linkedServices, IntegrationRuntimeReference connectVia) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Method = method; Uri = uri; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.Serialization.cs index 11f82fbe..45a97017 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.Serialization.cs @@ -119,8 +119,8 @@ internal static WebHookActivity DeserializeWebHookActivity(JsonElement element) Optional> body = default; Optional authentication = default; Optional> reportStatusOnCallBack = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name"u8)) @@ -247,7 +247,7 @@ internal static WebHookActivity DeserializeWebHookActivity(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new WebHookActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, method, url, timeout.Value, headers.Value, body.Value, authentication.Value, reportStatusOnCallBack.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.cs index 860d66af..b06c876d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebHookActivity.cs @@ -44,7 +44,7 @@ public WebHookActivity(string name, WebHookActivityMethod method, DataFactoryEle /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). /// Authentication method used for calling the endpoint. /// When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). - internal WebHookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, WebHookActivityMethod method, DataFactoryElement uri, string timeout, Dictionary> headers, DataFactoryElement body, WebActivityAuthentication authentication, DataFactoryElement reportStatusOnCallBack) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal WebHookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary> additionalProperties, WebHookActivityMethod method, DataFactoryElement uri, string timeout, Dictionary> headers, DataFactoryElement body, WebActivityAuthentication authentication, DataFactoryElement reportStatusOnCallBack) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Method = method; Uri = uri; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.Serialization.cs index 4a8e73ab..51734132 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -83,8 +84,8 @@ internal static WebLinkedService DeserializeWebLinkedService(JsonElement element Optional description = default; Optional> parameters = default; Optional> annotations = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("typeProperties"u8)) @@ -146,7 +147,7 @@ internal static WebLinkedService DeserializeWebLinkedService(JsonElement element annotations = array; continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new WebLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, typeProperties); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.cs index d6454e39..e1c12f3c 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebLinkedService.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace AzureDataFactory.TestingFramework.Models { @@ -39,7 +40,7 @@ public WebLinkedService(WebLinkedServiceTypeProperties typeProperties) /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// - internal WebLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, WebLinkedServiceTypeProperties typeProperties) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal WebLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, WebLinkedServiceTypeProperties typeProperties) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { TypeProperties = typeProperties; LinkedServiceType = linkedServiceType ?? "Web"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.Serialization.cs index 524afd28..da2efcf1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.Serialization.cs @@ -71,8 +71,8 @@ internal static WebSource DeserializeWebSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("additionalColumns"u8)) @@ -125,7 +125,7 @@ internal static WebSource DeserializeWebSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new WebSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.cs index 67eff645..b7562c05 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebSource.cs @@ -26,7 +26,7 @@ public WebSource() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal WebSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal WebSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { AdditionalColumns = additionalColumns; CopySourceType = copySourceType ?? "WebSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.Serialization.cs index 7d5d3271..3d63574e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.Serialization.cs @@ -107,8 +107,8 @@ internal static WebTableDataset DeserializeWebTableDataset(JsonElement element) Optional folder = default; DataFactoryElement index = default; Optional> path = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -214,7 +214,7 @@ internal static WebTableDataset DeserializeWebTableDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new WebTableDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, index, path.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.cs index f6912f80..9e9faeec 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/WebTableDataset.cs @@ -38,7 +38,7 @@ public WebTableDataset(DataFactoryLinkedServiceReference linkedServiceName, Data /// Additional Properties. /// The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. /// The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). - internal WebTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement index, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal WebTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement index, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Index = index; Path = path; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.Serialization.cs index be41e2f7..8b00e280 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.Serialization.cs @@ -136,8 +136,8 @@ internal static XeroLinkedService DeserializeXeroLinkedService(JsonElement eleme Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -274,7 +274,7 @@ internal static XeroLinkedService DeserializeXeroLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new XeroLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, host.Value, consumerKey, privateKey, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.cs index 7d694f55..02c7bb49 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroLinkedService.cs @@ -36,7 +36,7 @@ public XeroLinkedService() /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal XeroLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement host, DataFactorySecretBaseDefinition consumerKey, DataFactorySecretBaseDefinition privateKey, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal XeroLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement host, DataFactorySecretBaseDefinition consumerKey, DataFactorySecretBaseDefinition privateKey, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; Host = host; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.Serialization.cs index b98aa9e0..621d42a1 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static XeroObjectDataset DeserializeXeroObjectDataset(JsonElement eleme Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static XeroObjectDataset DeserializeXeroObjectDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new XeroObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.cs index 85d494fd..e3c96f45 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroObjectDataset.cs @@ -34,7 +34,7 @@ public XeroObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal XeroObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal XeroObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "XeroObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.Serialization.cs index c36c34d5..c25cb249 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.Serialization.cs @@ -83,8 +83,8 @@ internal static XeroSource DeserializeXeroSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static XeroSource DeserializeXeroSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new XeroSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.cs index c0f972b8..27c6bbb0 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XeroSource.cs @@ -28,7 +28,7 @@ public XeroSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal XeroSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal XeroSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "XeroSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.Serialization.cs index 64530afb..b51c8f0a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.Serialization.cs @@ -122,8 +122,8 @@ internal static XmlDataset DeserializeXmlDataset(JsonElement element) Optional> encodingName = default; Optional> nullValue = default; Optional compression = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -251,7 +251,7 @@ internal static XmlDataset DeserializeXmlDataset(JsonElement element) } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new XmlDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, location.Value, encodingName.Value, nullValue.Value, compression.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.cs index 9dc78bb2..05a54ef6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlDataset.cs @@ -41,7 +41,7 @@ public XmlDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(li /// The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). /// The null value string. Type: string (or Expression with resultType string). /// The data compression method used for the json dataset. - internal XmlDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DataFactoryElement nullValue, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal XmlDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DataFactoryElement nullValue, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; EncodingName = encodingName; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.Serialization.cs index ab48ceb9..f5dcc324 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.Serialization.cs @@ -71,8 +71,8 @@ internal static XmlReadSettings DeserializeXmlReadSettings(JsonElement element) Optional> namespaces = default; Optional namespacePrefixes = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("compressionProperties"u8)) @@ -125,7 +125,7 @@ internal static XmlReadSettings DeserializeXmlReadSettings(JsonElement element) type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new XmlReadSettings(type, additionalProperties, compressionProperties.Value, validationMode.Value, detectDataType.Value, namespaces.Value, namespacePrefixes.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.cs index b0799498..73deee7e 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlReadSettings.cs @@ -30,7 +30,7 @@ public XmlReadSettings() /// Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). /// Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). /// Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). - internal XmlReadSettings(string formatReadSettingsType, IDictionary additionalProperties, CompressionReadSettings compressionProperties, DataFactoryElement validationMode, DataFactoryElement detectDataType, DataFactoryElement namespaces, BinaryData namespacePrefixes) : base(formatReadSettingsType, additionalProperties) + internal XmlReadSettings(string formatReadSettingsType, IDictionary> additionalProperties, CompressionReadSettings compressionProperties, DataFactoryElement validationMode, DataFactoryElement detectDataType, DataFactoryElement namespaces, BinaryData namespacePrefixes) : base(formatReadSettingsType, additionalProperties) { CompressionProperties = compressionProperties; ValidationMode = validationMode; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.Serialization.cs index 62b39b06..46d8c10d 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.Serialization.cs @@ -83,8 +83,8 @@ internal static XmlSource DeserializeXmlSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("storeSettings"u8)) @@ -155,7 +155,7 @@ internal static XmlSource DeserializeXmlSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new XmlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, storeSettings.Value, formatSettings.Value, additionalColumns.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.cs index ccf2bf57..6f974488 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/XmlSource.cs @@ -32,7 +32,7 @@ public XmlSource() /// /// Xml format settings. /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal XmlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, StoreReadSettings storeSettings, XmlReadSettings formatSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal XmlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, StoreReadSettings storeSettings, XmlReadSettings formatSettings, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { StoreSettings = storeSettings; FormatSettings = formatSettings; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.Serialization.cs index e81cb9d1..266d61f2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.Serialization.cs @@ -114,8 +114,8 @@ internal static ZendeskLinkedService DeserializeZendeskLinkedService(JsonElement Optional password = default; Optional apiToken = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -226,7 +226,7 @@ internal static ZendeskLinkedService DeserializeZendeskLinkedService(JsonElement } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ZendeskLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, authenticationType, url, userName.Value, password, apiToken, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.cs index 1d95bdae..1da0b0a2 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZendeskLinkedService.cs @@ -39,7 +39,7 @@ public ZendeskLinkedService(ZendeskAuthenticationType authenticationType, DataFa /// The password of the Zendesk source. /// The api token for the Zendesk source. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ZendeskLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, ZendeskAuthenticationType authenticationType, DataFactoryElement uri, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ZendeskLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, ZendeskAuthenticationType authenticationType, DataFactoryElement uri, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactorySecretBaseDefinition apiToken, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { AuthenticationType = authenticationType; Uri = uri; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.Serialization.cs index 495601cd..c13e81d6 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.Serialization.cs @@ -43,8 +43,8 @@ internal static ZipDeflateReadSettings DeserializeZipDeflateReadSettings(JsonEle } Optional> preserveZipFileNameAsFolder = default; string type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("preserveZipFileNameAsFolder"u8)) @@ -61,7 +61,7 @@ internal static ZipDeflateReadSettings DeserializeZipDeflateReadSettings(JsonEle type = property.Value.GetString(); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ZipDeflateReadSettings(type, additionalProperties, preserveZipFileNameAsFolder.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.cs index 8257e07b..58635256 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZipDeflateReadSettings.cs @@ -22,7 +22,7 @@ public ZipDeflateReadSettings() /// The Compression setting type. /// Additional Properties. /// Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). - internal ZipDeflateReadSettings(string compressionReadSettingsType, IDictionary additionalProperties, DataFactoryElement preserveZipFileNameAsFolder) : base(compressionReadSettingsType, additionalProperties) + internal ZipDeflateReadSettings(string compressionReadSettingsType, IDictionary> additionalProperties, DataFactoryElement preserveZipFileNameAsFolder) : base(compressionReadSettingsType, additionalProperties) { PreserveZipFileNameAsFolder = preserveZipFileNameAsFolder; CompressionReadSettingsType = compressionReadSettingsType ?? "ZipDeflateReadSettings"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.Serialization.cs index ec56c1d3..865de2ba 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.Serialization.cs @@ -130,8 +130,8 @@ internal static ZohoLinkedService DeserializeZohoLinkedService(JsonElement eleme Optional> useHostVerification = default; Optional> usePeerVerification = default; Optional encryptedCredential = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -259,7 +259,7 @@ internal static ZohoLinkedService DeserializeZohoLinkedService(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ZohoLinkedService(type, connectVia.Value, description.Value, Optional.ToDictionary(parameters), Optional.ToList(annotations), additionalProperties, connectionProperties.Value, endpoint.Value, accessToken, useEncryptedEndpoints.Value, useHostVerification.Value, usePeerVerification.Value, encryptedCredential.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.cs index 06d08f48..c1d15b9b 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoLinkedService.cs @@ -32,7 +32,7 @@ public ZohoLinkedService() /// Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. /// Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ZohoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionProperties, DataFactoryElement endpoint, DataFactorySecretBaseDefinition accessToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ZohoLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary> additionalProperties, BinaryData connectionProperties, DataFactoryElement endpoint, DataFactorySecretBaseDefinition accessToken, DataFactoryElement useEncryptedEndpoints, DataFactoryElement useHostVerification, DataFactoryElement usePeerVerification, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionProperties = connectionProperties; Endpoint = endpoint; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.Serialization.cs index e07904da..6598300a 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.Serialization.cs @@ -104,8 +104,8 @@ internal static ZohoObjectDataset DeserializeZohoObjectDataset(JsonElement eleme Optional> annotations = default; Optional folder = default; Optional> tableName = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -206,7 +206,7 @@ internal static ZohoObjectDataset DeserializeZohoObjectDataset(JsonElement eleme } continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ZohoObjectDataset(type, description.Value, structure.Value, schema.Value, linkedServiceName, Optional.ToDictionary(parameters), Optional.ToList(annotations), folder.Value, additionalProperties, tableName.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.cs index ac267918..ccb48ab4 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoObjectDataset.cs @@ -34,7 +34,7 @@ public ZohoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ZohoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ZohoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary> additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ZohoObject"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.Serialization.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.Serialization.cs index a3a8a116..49c79656 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.Serialization.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.Serialization.cs @@ -83,8 +83,8 @@ internal static ZohoSource DeserializeZohoSource(JsonElement element) Optional> sourceRetryWait = default; Optional> maxConcurrentConnections = default; Optional> disableMetricsCollection = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); + IDictionary> additionalProperties = default; + Dictionary> additionalPropertiesDictionary = new Dictionary>(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("query"u8)) @@ -155,7 +155,7 @@ internal static ZohoSource DeserializeZohoSource(JsonElement element) disableMetricsCollection = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + additionalPropertiesDictionary.Add(property.Name, JsonSerializer.Deserialize>(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; return new ZohoSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, disableMetricsCollection.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value); diff --git a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.cs b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.cs index b4d47080..6a7117b8 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Models/ZohoSource.cs @@ -28,7 +28,7 @@ public ZohoSource() /// Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// A query to retrieve data from source. Type: string (or Expression with resultType string). - internal ZohoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal ZohoSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary> additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement query) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { Query = query; CopySourceType = copySourceType ?? "ZohoSource"; diff --git a/src/AzureDataFactory.TestingFramework/Generated/Pipeline.cs b/src/AzureDataFactory.TestingFramework/Generated/Pipeline.cs index e35b4eb4..8a132f36 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/Pipeline.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/Pipeline.cs @@ -6,6 +6,7 @@ #nullable disable using Azure.Core; +using Azure.Core.Expressions.DataFactory; using AzureDataFactory.TestingFramework.Models; using Azure.ResourceManager.Models; @@ -24,8 +25,8 @@ public Pipeline() Parameters = new ChangeTrackingDictionary(); Variables = new ChangeTrackingDictionary(); Annotations = new ChangeTrackingList(); - RunDimensions = new ChangeTrackingDictionary(); - AdditionalProperties = new ChangeTrackingDictionary(); + RunDimensions = new ChangeTrackingDictionary>(); + AdditionalProperties = new ChangeTrackingDictionary>(); } /// Initializes a new instance of DataFactoryPipelineData. @@ -48,7 +49,7 @@ public Pipeline() /// Pipeline Policy. /// Etag identifies change in the resource. /// Additional Properties. - internal Pipeline(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string description, IList activities, IDictionary parameters, IDictionary variables, int? concurrency, IList annotations, IDictionary runDimensions, PipelineFolder folder, DataFactoryPipelinePolicy policy, ETag? eTag, IDictionary additionalProperties) : base(id, name, resourceType, systemData) + internal Pipeline(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string description, IList activities, IDictionary parameters, IDictionary variables, int? concurrency, IList annotations, IDictionary> runDimensions, PipelineFolder folder, DataFactoryPipelinePolicy policy, ETag? eTag, IDictionary> additionalProperties) : base(id, name, resourceType, systemData) { Description = description; Activities = activities; @@ -138,7 +139,7 @@ internal Pipeline(ResourceIdentifier id, string name, ResourceType resourceType, /// /// /// - public IDictionary RunDimensions { get; } + public IDictionary> RunDimensions { get; } /// The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. internal PipelineFolder Folder { get; set; } /// The name of the folder that this Pipeline is in. @@ -228,6 +229,6 @@ public BinaryData ElapsedTimeMetricDuration /// /// /// - public IDictionary AdditionalProperties { get; } + public IDictionary> AdditionalProperties { get; } } } diff --git a/src/AzureDataFactory.TestingFramework/Generated/RestOperations/PipelinesRestOperations.cs b/src/AzureDataFactory.TestingFramework/Generated/RestOperations/PipelinesRestOperations.cs index d4bb29f2..4f1bfd58 100644 --- a/src/AzureDataFactory.TestingFramework/Generated/RestOperations/PipelinesRestOperations.cs +++ b/src/AzureDataFactory.TestingFramework/Generated/RestOperations/PipelinesRestOperations.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; using Azure.Core.Pipeline; using AzureDataFactory.TestingFramework.Models; @@ -382,7 +383,7 @@ public Response Delete(string subscriptionId, string resourceGroupName, string f } } - internal HttpMessage CreateCreateRunRequest(string subscriptionId, string resourceGroupName, string factoryName, string pipelineName, IDictionary parameterValueSpecification, string referencePipelineRunId, bool? isRecovery, string startActivityName, bool? startFromFailure) + internal HttpMessage CreateCreateRunRequest(string subscriptionId, string resourceGroupName, string factoryName, string pipelineName, IDictionary> parameterValueSpecification, string referencePipelineRunId, bool? isRecovery, string startActivityName, bool? startFromFailure) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -456,7 +457,7 @@ internal HttpMessage CreateCreateRunRequest(string subscriptionId, string resour /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. - public async Task> CreateRunAsync(string subscriptionId, string resourceGroupName, string factoryName, string pipelineName, IDictionary parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) + public async Task> CreateRunAsync(string subscriptionId, string resourceGroupName, string factoryName, string pipelineName, IDictionary> parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); @@ -492,7 +493,7 @@ public async Task> CreateRunAsync(string subsc /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. - public Response CreateRun(string subscriptionId, string resourceGroupName, string factoryName, string pipelineName, IDictionary parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) + public Response CreateRun(string subscriptionId, string resourceGroupName, string factoryName, string pipelineName, IDictionary> parameterValueSpecification = null, string referencePipelineRunId = null, bool? isRecovery = null, string startActivityName = null, bool? startFromFailure = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName));